]> git.mxchange.org Git - friendica.git/commit
Move autolinker execution earlier in BBCode::convert
authorHypolite Petovan <hypolite@mrpetovan.com>
Thu, 26 Sep 2019 00:25:42 +0000 (20:25 -0400)
committerHypolite Petovan <hypolite@mrpetovan.com>
Thu, 26 Sep 2019 00:39:04 +0000 (20:39 -0400)
commitd8484e65bdff720e166f9b230d4b788bea64e7cd
tree1d8ca898d6feefe34e787eeb95b388b60230ff6e
parent3ac6961da58b2ebaa01edbf347ba522b3cdc39a2
Move autolinker execution earlier in BBCode::convert

- Prevents already replaced HTML links (like in [audio] tag) to be doubled
- Add test for it
src/Content/Text/BBCode.php
tests/src/Content/Text/BBCodeTest.php