Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

""

git-svn-id: https://erlyaws.svn.sourceforge.net/svnroot/erlyaws/trunk/yaws@585 9fbdc01b-0d2c-0410-bfb7-fb27d70d8b52
  • Loading branch information...
commit 8f33f5d2182b763d77effb381166de105ff4c1b3 1 parent 11bb09f
@klacke authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  src/yaws_api.erl
View
2  src/yaws_api.erl
@@ -1231,6 +1231,8 @@ ehtml_expand([]) -> [].
ehtml_attrs([]) -> [];
ehtml_attrs([Attribute|Tail]) when atom(Attribute) ->
[[$ |atom_to_list(Attribute)]|ehtml_attrs(Tail)];
+ehtml_attrs([Attribute|Tail]) when list(Attribute) ->
+ [" ", Attribute|ehtml_attrs(Tail)];
ehtml_attrs([{Name, Value} | Tail]) ->
ValueString = if atom(Value) -> [$",atom_to_list(Value),$"];
list(Value) -> [$",Value,$"];

0 comments on commit 8f33f5d

Please sign in to comment.
Something went wrong with that request. Please try again.