1
0
mirror of https://github.com/Kovah/LinkAce.git synced 2025-02-23 10:43:41 +01:00

3 Commits

Author SHA1 Message Date
Kovah
1e663d2b3a
Only flash alerts for HTML meta errors inside the standard link controller 2020-05-05 23:53:23 +02:00
Kovah
9c1f185ebc
Extend the HTML meta helper to automatically correct encoding of the given HTML (fixes #119) 2020-04-30 23:15:35 +02:00
Kovah
0a1f6b3167
Refactor of the HTML meta helper (#122)
Move the HTML meta helper into a new class and refactor the actual parsing of title and description. The helper now uses one single call to get the HTML and then parses the title and description from it.
The helper also now handles invalid URLs correctly. This includes URLs without a proper protocol as they can't be correctly queried for the meta data.
2020-04-29 19:14:42 +02:00