Closed GaryJones closed 11 years ago
Nice catch. Looks like I was attempting to remove the closing tag using the original string length without accounting for the first tag already being stripped.
Ah, that's it. I couldn't workout where exactly the discrepancy was coming from.
Before this patch, the final line of code was ending up as </pre as not enough characters were getting stripped away before exploding into individual lines.
Brady, please check this over - if you check your own rendered gists against the develop branch, you should see that the last line of the table data cell for line_data end up as:
which is clearly invalid markup.