]> git.immae.eu Git - github/shaarli/Shaarli.git/commit
Support search highlights when matching URL content
authorArthurHoaro <arthur@hoa.ro>
Tue, 19 Jan 2021 16:49:19 +0000 (17:49 +0100)
committerArthurHoaro <arthur@hoa.ro>
Tue, 19 Jan 2021 16:49:19 +0000 (17:49 +0100)
commit9ef8555ad298668bcb8537ccdd2ab6560f44177f
treeba23e5d76d3d1f9eb95231ea6504d283f86d7722
parentffa39719a17982e6a6cac9bc3f758aa12fa69973
Support search highlights when matching URL content

DefaultFormatter:
  - format 'a' tag content and not href attribute
  - format hashtags properly
Markdown(Extra)Formatter:
  - Extend Parsedown to format highlight properly: https://github.com/erusev/parsedown/wiki/Tutorial:-Create-Extensions

Fixes #1681
application/bookmark/LinkUtils.php
application/formatter/BookmarkDefaultFormatter.php
application/formatter/BookmarkMarkdownExtraFormatter.php
application/formatter/BookmarkMarkdownFormatter.php
application/formatter/Parsedown/ShaarliParsedown.php [new file with mode: 0644]
application/formatter/Parsedown/ShaarliParsedownExtra.php [new file with mode: 0644]
application/formatter/Parsedown/ShaarliParsedownTrait.php [new file with mode: 0644]
application/front/controller/visitor/BookmarkListController.php
tests/formatter/BookmarkDefaultFormatterTest.php
tests/formatter/BookmarkMarkdownFormatterTest.php