Disable markup validation for paragraphs.
[gpl/argeo-suite.git] / publishing / org.argeo.publishing.ui / src / org / argeo / docbook / ui / DbkTextInterpreter.java
index b195692f863fb83a85a77fd5bc2ceccf8148f951..c853535440d03f758cccc12f1c0f73cf96afd032 100644 (file)
@@ -252,7 +252,10 @@ public class DbkTextInterpreter implements TextInterpreter {
        public String readSimpleHtml(Item item) {
                try {
                        StringBuilder sb = new StringBuilder();
+//                     sb.append("<div style='text-align: justify;'>");
                        readAsSimpleHtml((Node) item, sb);
+//                     sb.append("</div>");
+//                     System.out.println(sb);
                        return sb.toString();
                } catch (RepositoryException e) {
                        throw new JcrException("Cannot convert " + item + " to simple HTML", e);