diff --git a/src/rdbl.erl b/src/rdbl.erl index 04bbefc..867d6d4 100644 --- a/src/rdbl.erl +++ b/src/rdbl.erl @@ -129,12 +129,12 @@ extract_content_type(Tree, DefaultContentType) -> simplify_page(Body0, Ctx, DefaultContentType) -> Body = re:replace( - re:replace( - re:replace( +% re:replace( % не помогает с raquo/laquo, надо смотреть в mochiweb entity() +% re:replace( Body0, " ", " ", [global]), % mochiweb_html:parse has a bug with  , just hotfix - "«", "«", [global]), - "»", "»", [global]), +% "«", "«", [global]), +% "»", "»", [global]), % TODO: – too try mochiweb_html:parse(Body) of % parse() will not work if Body contains no html tags TreeOrig -> TitleStr = get_title(TreeOrig),