Mercurial > hg-stable
diff tests/test-trusted.py @ 23613:7b8ff3fd11d3
highlight: ignore Unicode's extra linebreaks (issue4291)
Unicode and Python's unicode.splitlines() treat several extra legacy
ASCII codepoints as linebreaks, even though the vast bulk of computing
and Python's own str.splitlines() do not. Rather than introduce line
numbering confusion, we filter them out when highlighting.
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Wed, 17 Dec 2014 13:25:24 -0600 |
parents | 681f7b9213a4 |
children | 328739ea70c3 |