Skip to content

New (?) bug rendering divs next to paragraphs? #220

Closed
@Vaguery

Description

@Vaguery

I just noticed (while chasing down a new Nokogiri bug) that a bunch of old blog posts are not rendering correctly. There are two symptoms, apparently:

  • a <div> that appears without a newline right before it is not recognized, and comes out HTML escaped inside its surrounding block
  • a <div> with any attribute at all is not recognized unless it is preceded by TWO newlines

Here's a gist showing the behavior

Amusingly, github parses the source correctly. View "RAW" to see the problem.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions