Skip to content

Commit

Permalink
Handle "style" tag with inline content also correctly ("script" was a…
Browse files Browse the repository at this point in the history
…lready fixed).

Supposedly fixes issue #507, but not yet verified.
  • Loading branch information
s-ludwig committed Feb 9, 2014
1 parent 4562c31 commit f7b4fd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/vibe/templ/diet.d
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ private struct DietCompiler {
break;
case "script":
case "style":
if( tag == "script" && next_indent_level <= level){
if (next_indent_level <= level) {
buildHtmlNodeWriter(output, tag, ln[j .. $], level, false, prepend_whitespaces);
} else {
// pass all child lines to buildRawTag and continue with the next sibling
Expand Down

0 comments on commit f7b4fd8

Please sign in to comment.