Some improvments for having better support for RTL/BiDi contents

This commit is contained in:
Ebrahim Byagowi
2013-06-02 20:53:41 +01:00
parent 5604374691
commit c1d5c699a2
4 changed files with 13 additions and 4 deletions

View File

@@ -65,6 +65,10 @@ public class FeedUtils {
"sub", "sup", "table", "tbody", "td", "tfoot", "th",
"thead", "tr", "u", "ul");
whitelist.addAttributes("div", "dir");
whitelist.addAttributes("pre", "dir");
whitelist.addAttributes("code", "dir");
whitelist.addAttributes("table", "dir");
whitelist.addAttributes("a", "href", "title");
whitelist.addAttributes("blockquote", "cite");
whitelist.addAttributes("col", "span", "width");