This improves the output for some edge cases with %%% blocks. Notably, blocks did not emit a block-level spacing tag, so this:
%%%a%%% %%%b%%%
...rendered on a single line.
Differential D10984
Preserve whitespace more faithfully when processing %%% remarkup blocks epriestley on Dec 12 2014, 7:21 PM. Authored by Tags None Referenced Files
Subscribers
Details This improves the output for some edge cases with %%% blocks. Notably, blocks did not emit a block-level spacing tag, so this: %%%a%%% %%%b%%% ...rendered on a single line. Added unit tests.
Diff Detail
Event Timeline
Comment Actions The %%% block itself is documented: https://secure.phabricator.com/book/phabricator/article/remarkup/#literal-blocks I think this just makes the rule behave more "naturally" (i.e., do what you'd expect it to do after reading the documentation) so I'm not specifically updating the documentation. If we see user confusion about the behavior of the rule I could make the docs more explicit, but as long as users can figure out how to do what they want after reading the docs I don't want to explain all the parser details if we don't have to. |