Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #57 from sendtopms/patch-1

Update src/erlydtl_runtime.erl
  • Loading branch information...
commit 194e84495a3921ee588556ca0b36b2fa913e6b94 2 parents 6d1fcaf + 3d6d681
@evanmiller evanmiller authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/erlydtl_runtime.erl
View
6 src/erlydtl_runtime.erl
@@ -269,9 +269,9 @@ widthratio(Numerator, Denominator, Scale) ->
spaceless(Contents) ->
Contents1 = lists:flatten(Contents),
- Contents2 = re:replace(Contents1, "^\s+<", "<", [{return,list}]),
- Contents3 = re:replace(Contents2, ">\s+$", ">", [{return,list}]),
- Contents4 = re:replace(Contents3, ">\s+<", "><", [global, {return,list}]),
+ Contents2 = re:replace(Contents1, "^\\s+<", "<", [{return,list}]),
+ Contents3 = re:replace(Contents2, ">\\s+$", ">", [{return,list}]),
+ Contents4 = re:replace(Contents3, ">\\s+<", "><", [global, {return,list}]),
Contents4.
read_file(Module, Function, DocRoot, FileName) ->
Please sign in to comment.
Something went wrong with that request. Please try again.