Skip to content
This repository
Browse code

""

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
Claes Wikstrom authored

Showing 1 changed file with 2 additions and 0 deletions. Show diff stats Hide diff stats

  1. +2 0  src/yaws_api.erl
2  src/yaws_api.erl
@@ -1231,6 +1231,8 @@ ehtml_expand([]) -> [].
1231 1231 ehtml_attrs([]) -> [];
1232 1232 ehtml_attrs([Attribute|Tail]) when atom(Attribute) ->
1233 1233 [[$ |atom_to_list(Attribute)]|ehtml_attrs(Tail)];
  1234 +ehtml_attrs([Attribute|Tail]) when list(Attribute) ->
  1235 + [" ", Attribute|ehtml_attrs(Tail)];
1234 1236 ehtml_attrs([{Name, Value} | Tail]) ->
1235 1237 ValueString = if atom(Value) -> [$",atom_to_list(Value),$"];
1236 1238 list(Value) -> [$",Value,$"];

0 comments on commit 8f33f5d

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