Text after the image is laid out on the same line, but text before gets its own <p>.
e.g.:
> one two {F226257, size=full, layout=inline} three four
produces:
one two
three four
nornagon | |
Oct 27 2014, 7:17 PM |
F226257: black_mage.gif | |
Oct 27 2014, 7:17 PM |
Text after the image is laid out on the same line, but text before gets its own <p>.
e.g.:
> one two {F226257, size=full, layout=inline} three four
produces:
one two
three four
This reproduces with something as simple as
one two
three fouralso worth noting this shows the error too:
one two
three fourTook a quick look in case it was a simple fix but this is a bit hairy; the "one two" is sort of part of the problem, as for this to work the whole line needs to be inside the <p> tag and in this code path it ends. PhabricatorEmbedFileRemarkupRule is the pertinent class name and renderImageFile is the method that's going to need some work, plus whatever higher level stuff for the "one two" bit.