]> git.immae.eu Git - github/shaarli/Shaarli.git/commit
Improve regex to extract HTML metadata (title, description, etc.) 1540/head
authorArthurHoaro <arthur@hoa.ro>
Thu, 3 Sep 2020 15:46:26 +0000 (17:46 +0200)
committerArthurHoaro <arthur@hoa.ro>
Thu, 3 Sep 2020 15:46:26 +0000 (17:46 +0200)
commit2cd0509b503332b1989f06da45d569d4d2929be5
tree7aa76192ea42a640b7238114fad1acd31ccc4960
parent21163a3329ef19dc6ebadb75d6452ac02fd59ab3
Improve regex to extract HTML metadata (title, description, etc.)

Also added a bunch of tests to cover more use cases.

Fixes #1375
application/bookmark/LinkUtils.php
tests/bookmark/LinkUtilsTest.php