Skip to content

Commit

Permalink
Re-classify test for #144
Browse files Browse the repository at this point in the history
  • Loading branch information
ultraq committed Nov 29, 2016
1 parent 3f9350c commit 0e89c7e
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 58 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@

# Replicate a bug found with empty <head> sections, as per
# /~https://github.com/ultraq/thymeleaf-layout-dialect/issues/144

% TEMPLATE_MODE HTML

%INPUT
<html layout:decorate="~{layout}">
<head>
<title>Some Title</title>
<script>alert('hello');</script>
</head>
</html>


%INPUT[layout]
<html>
<head></head>
</html>


%OUTPUT
<html>
<head>
<title>Some Title</title>
<script>alert('hello');</script>
</head>
</html>

0 comments on commit 0e89c7e

Please sign in to comment.