diff options
author | zotlabs <mike@macgirvin.com> | 2017-12-21 13:36:58 -0800 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-12-21 13:36:58 -0800 |
commit | f825e27f1af71ba873f5698cad433bc017760556 (patch) | |
tree | 6c0c55b71f1cdb6abdbe4157a43d3af3281b9560 /vendor/league/html-to-markdown/src/Converter/ParagraphConverter.php | |
parent | c087d1e18b32f62d126cb01accbdeff21f5c1107 (diff) | |
parent | 9c72963d7ce3c60709755edb5d40cb0b06b29cda (diff) | |
download | volse-hubzilla-f825e27f1af71ba873f5698cad433bc017760556.tar.gz volse-hubzilla-f825e27f1af71ba873f5698cad433bc017760556.tar.bz2 volse-hubzilla-f825e27f1af71ba873f5698cad433bc017760556.zip |
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge
Diffstat (limited to 'vendor/league/html-to-markdown/src/Converter/ParagraphConverter.php')
-rw-r--r-- | vendor/league/html-to-markdown/src/Converter/ParagraphConverter.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vendor/league/html-to-markdown/src/Converter/ParagraphConverter.php b/vendor/league/html-to-markdown/src/Converter/ParagraphConverter.php index cf852bfcf..7207b81a6 100644 --- a/vendor/league/html-to-markdown/src/Converter/ParagraphConverter.php +++ b/vendor/league/html-to-markdown/src/Converter/ParagraphConverter.php @@ -109,7 +109,8 @@ class ParagraphConverter implements ConverterInterface { $regExs = array( // Match numbers ending on ')' or '.' that are at the beginning of the line. - '/^[0-9]+(?=\)|\.)/' + // They will be escaped if immediately followed by a space or newline. + '/^[0-9]+(?=(\)|\.)( |$))/' ); foreach ($regExs as $i) { |