Skip to content

Conversation

@GaryJones
Copy link
Collaborator

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:

</span></div></pre</pre></td>

which is clearly invalid markup.

…> as not enough characters were getting stripped away before exploding into individual lines.
@bradyvercher bradyvercher merged commit fdb511f into dev Jan 12, 2013
@bradyvercher bradyvercher deleted the pre branch January 12, 2013 18:59
@bradyvercher
Copy link
Owner

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.

@ghost ghost assigned GaryJones Jan 12, 2013
@GaryJones
Copy link
Collaborator Author

Ah, that's it. I couldn't workout where exactly the discrepancy was coming from.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants