Skip to content

Commit

Permalink
comments_about_bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
ivkosh committed Apr 8, 2011
1 parent 5e730da commit 791b531
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/rdbl.erl
Expand Up @@ -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),
Expand Down

0 comments on commit 791b531

Please sign in to comment.