mquinson / po4a

Maintain the translations of your documentation with ease (PO for anything)
http://po4a.org/
GNU General Public License v2.0
127 stars 62 forks source link

Adjust asciidoc line break regex to look for " +\n", not "+\n" #364

Closed petterreinholdtsen closed 2 years ago

petterreinholdtsen commented 2 years ago

Fixes #299.

petterreinholdtsen commented 2 years ago

Gah, seem to be a duplicate of #363.

jnavila commented 2 years ago

Anyway your comment in the code points out a possible issue if a line just ends with a '+'...

petterreinholdtsen commented 2 years ago

[Jean-Noël Avila]

Anyway your comment in the code points out a possible issue if a line just ends with a '+'...

I believe the effect will be that a \n is not converted to " ". Not sure how serious that would be. I tried making a regex that would (not) match properly, but failed. Not skilled enough with perl regex. :)

-- Happy hacking Petter Reinholdtsen