xuetaohe / minify

Automatically exported from code.google.com/p/minify
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Javascript inside textarea #229

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Minify version: 2.0.2.2
PHP version: 5

What steps will reproduce the problem?
1. Place a <script> tag inside a <textarea> 

Expected output:
No issues

Actual output:
The placeholder doesn't get replaced again afterwards

Solution
Change the order of the replace, so the textarea is before the script tag

Original issue reported on code.google.com by customer...@newmediaheroes.com on 9 May 2011 at 1:49

GoogleCodeExporter commented 9 years ago
Seems like a straightforward change.

Original comment by mrclay....@gmail.com on 12 May 2011 at 4:40

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r459.

Original comment by mrclay....@gmail.com on 23 Jun 2011 at 8:28

GoogleCodeExporter commented 9 years ago
fixed in r459. Please try the latest version on 2.1.4 if you can.

Original comment by mrclay....@gmail.com on 23 Jun 2011 at 8:29