Last modified: 2011-02-06 05:29:23 UTC
INPUT: A<center>B</center>C<center>D</center>E EXPECTED OUTPUT: A<div class="center">B</div>C<div class="center">D</div>E ACTUAL OUTPUT: A<div class="center">B</center>C<center>D</div>E
It appears to be replacing only one tag, and that is the first and last instances of the start and end tags - it should do a replace all of <center> with the div tag, and the same for </center>. Should be an easyish fix.
It seems that this bug has been fixed. I pasted the example in the Sandbox and the generated output is: <p>A</p> <center>B</center> <p>C</p> <center>D</center> <p>E</p> All tags are appropriately closed.