Permalink
Browse files

comments_about_bugs

  • Loading branch information...
1 parent 5e730da commit 791b5317c35cf4fdf3236712644817fa019316bc @ivkosh committed Apr 8, 2011
Showing with 4 additions and 4 deletions.
  1. +4 −4 src/rdbl.erl
View
@@ -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),

0 comments on commit 791b531

Please sign in to comment.