[PATCH 1 of 2] rst: in @mention parser, escape spaces so they don't go to HTML

Andrew Shadura andrew at shadura.me
Wed May 6 01:20:12 EDT 2015


> I don't think I have seen this - can you
> point at a "before" example? Perhaps
> also describe it in the commit message.

No link at the moment, but every time you type something like this:

    @username, have you seen it?

it turns into:

    @username , have you seen it?

So an extra space is inserted. It was inserted because otherwise rst parser
might not recognise the markup (imagine @user1, at user2 which is replaced by
**user1**,**user2** — that would be interpreted as <b>user1**,**user2</b>).

-- 
Cheers,
  Andrew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sfconservancy.org/pipermail/kallithea-general/attachments/20150506/709e675d/attachment.html>


More information about the kallithea-general mailing list