From 77da13a676c14b87bc7f456a7b9be37336f927b4 Mon Sep 17 00:00:00 2001 From: Rafal Niski Date: Fri, 10 Dec 2021 10:32:40 +0100 Subject: [PATCH] Update README.md for escaping html --- html/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/html/README.md b/html/README.md index 84b6aa2..0f8dceb 100644 --- a/html/README.md +++ b/html/README.md @@ -23,7 +23,7 @@ allprojects { dependencies { // … implementation 'com.contentful.java:java-sdk:10.5.2' - implementation 'com.github.contentful.rich-text-renderer-java:html:1.1.0' + implementation 'com.github.contentful.rich-text-renderer-java:html:1.2.0' } ``` @@ -47,7 +47,7 @@ same can be achieved by adding Maven dependencies like so: com.github.contentful.rich html - 1.1.0 + 1.2.0 ``` @@ -84,7 +84,7 @@ final HtmlContext context = new HtmlContext(); final String html = processor.process(context, node); ``` -The `html` variable now contains the html representation of the node. +The `html` variable now contains the html representation of the node. Please bear in mind that rich text will be escaped in the output `html`. Adding Custom Renderers -----------------------