-
Notifications
You must be signed in to change notification settings - Fork 434
Closed
Labels
Milestone
Description
Hi!
I have an issue with some HTML containing syntax highlighted code. My <pre>
tags contains <span>
and <div>
, but... Tidy doesn't allow <div>
inside a <pre>
:(
For example, input HTML:
<pre>one<div>two</div>three</pre>
Tidy output:
<pre>one</pre>
<div>two</div>
<pre>three</pre>
The result is totally different!
FYI, in error buffer:
line 1 column 1 - Warning: missing </pre> before <div>
line 1 column 17 - Warning: inserting implicit <pre>