Page MenuHomePhabricator

Remarkup {Fxxx,layout=inline} not actually rendered inline
Closed, ResolvedPublic

Assigned To
Authored By
matmarex
Feb 6 2015, 10:47 PM
Referenced Files
F285138: pasted_file
Feb 6 2015, 10:48 PM
F285134: red_small.png
Feb 6 2015, 10:47 PM
Subscribers

Description

Remarkup's file embed syntax {Fxxx,layout=inline} is not actually rendered inline. Observe:

some text red_small.png (52×52 px, 198 B) more text

That's because the generated HTML is <p>some text <div …>…</div> more text</p>, and HTML <p> tags may not contain block content like <div> tags. Browsers actually parse this as if it was <p>some text </p><div …>…</div> more text<p></p> (sic).

Event Timeline

matmarex claimed this task.
matmarex raised the priority of this task from to Needs Triage.
matmarex updated the task description. (Show Details)
matmarex added a project: Remarkup.
matmarex added a subscriber: matmarex.

Screenshot from description for posterity:

pasted_file (115×164 px, 2 KB)