#914 reStructuredText comments should include a space

v1.23
closed-fixed
5
2013-07-23
2012-11-08
Cousteau
No

Right now reStructuredText comments are ".." (dot dot), as can be seen in file https://github.com/geany/geany/blob/master/data/filetypes.restructuredtext which causes [Format::Comment] to generate "..line" and [Format::Toggle comment] to generate "..~ line".

This is wrong and not a valid reST comment, and a reST parser will interpret it as a regular line. The line 13 on https://github.com/geany/geany/blob/master/data/filetypes.restructuredtext ("comment_single=..") should be changed adding a space after it, so that reST comments become ".. " (dot dot space), and commented lines would become ".. line" and ".. ~ line", which are valid reST comments.

Discussion

  • Cousteau
    Cousteau
    2012-11-08

    Geany 1.22 filetypes.restructuredtext file modified with an extra space on "comment_single"

     
    • assigned_to: nobody --> colombanw
     
    • labels: --> Filetypes
    • milestone: --> v1.23
    • status: open --> closed-fixed
     
  • Now fixed in Git, thanks for reporting.

     
    • labels: Filetypes --> Filetypes, reStructuredText