Skip to content
This repository was archived by the owner on Apr 22, 2020. It is now read-only.

Commit 8aa721d

Browse files
testcase for issue 145
1 parent 8f27e91 commit 8aa721d

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

tests/prettify_test_2.html

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -399,6 +399,18 @@ <h1>Tex support</h1>
399399
\setlength{\tabcolsep}{0em}
400400
</pre>
401401

402+
<h1>Issue 145</h1>
403+
<pre id="issue145" class="prettyprint">
404+
&lt;script type="text/javascript"&gt;
405+
&lt;!--
406+
var target = $$.css('backgroundImage').replace(/^url[\(\)'"]/g, '');
407+
408+
// nice long chain: wrap img element in span
409+
$$.wrap('&lt;span style="position: relative;"&gt;&lt;/span&gt;')
410+
--&gt;
411+
&lt;/script&gt;
412+
</pre>
413+
402414
</body>
403415

404416
<script type="text/javascript">

0 commit comments

Comments
 (0)