Skip to content

fix blank lines for #792 #774 - #795

Closed
0ssifrage wants to merge 1 commit into
hexojs:masterfrom
0ssifrage:master
Closed

fix blank lines for #792 #774#795
0ssifrage wants to merge 1 commit into
hexojs:masterfrom
0ssifrage:master

Conversation

@0ssifrage

Copy link
Copy Markdown

@tommy351 wrapped each line with <div class="line"> to fix #687, however, there was a problem with codes with blank lines just like #792 and #774.

Adding css style for .line may be a solution, but it's hard to let all the themes change their css files, I think using span instead of div and adding \n for each line can fix this issue without changing the css files, but I am not sure whether it will cause the same problem in #687. (I don't have the same problem in that issue before wrapping the line with div).

@wzpan

wzpan commented Sep 16, 2014

Copy link
Copy Markdown
Member

This patch is good. I highly recommend to merge it.

@leesei

leesei commented Jul 16, 2015

Copy link
Copy Markdown
Member

Fixed in 3.0.

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.

Is this a markdown parse error?

3 participants