rugk 005d223c0d Fix source code being not rendered
If special characters were included the source code (HTML-like ones like < and >) is was not rendered.

Fixes https://github.com/PrivateBin/PrivateBin/issues/588

It includes a change in the RegEx for URLs because that was broken when a
& character later followed at any time after a link (even after a newline).
(with a negative lookahead)

Test with https://regex101.com/r/i7bZ73/1

Now the RegEx does not check for _all_ chars after a link, but just for the
one following the link.
(So the lookahead is not * anymore. I guess thsi behaviour was
the expectation when it has been implemented.)
2020-03-04 11:45:56 +01:00
..
2016-07-19 13:56:52 +02:00
2020-02-04 18:43:35 +01:00
2019-06-16 09:30:59 +02:00
2019-06-16 10:13:53 +02:00
2019-07-27 08:11:29 +02:00
2020-02-04 18:43:35 +01:00
2019-05-11 10:38:14 +02:00