Michael
70bf75c342
Support for page JSON-LD based page information
2021-03-15 22:02:21 +00:00
Hypolite Petovan
a0f6d678c4
Add HTML Purify to BBCode::convert
...
- Replace previous HTML cleanup using DOMDocument
- Remove obsolete HTML::sanitizeCSS method
- Use Strings::autoLinkRegEx for PageInfo::getRelevantUrlFromBody
- Update previous tests expectations
- Add new specific XSS tests
2020-12-04 07:29:48 -05:00
Michael
46bd1704df
Fix notice "Undefined index: network" and warning "strpos(): Empty needle"
2020-10-29 13:28:27 +00:00
Michael
fe825b3634
Fix notice
2020-09-20 17:47:44 +00:00
Michael
a42217eae4
Fixes notice "Undefined index: text"
2020-09-20 07:45:19 +00:00
Michael
1a0db28d2e
Only display redundant preview data with preview picture
2020-09-19 19:02:40 +00:00
Michael Vogel
ea8965759e
Merge pull request #8893 from MrPetovan/task/8797-strip-label-shortened-url
...
Add shortened URL link label stripping to PageInfo::stripTrailingUrlFromBody
2020-07-18 18:06:01 +02:00
Hypolite Petovan
972b65ba33
Add intermediate method PageInfo::appendDataToBody
...
- It handles the already existing attachment in the body case
2020-07-17 19:38:28 -04:00
Hypolite Petovan
25b3fa83fc
Rename PageInfo::appendToBody to searchAndAppendToBody
2020-07-17 19:15:43 -04:00
Hypolite Petovan
8de66c0274
Add shortened URL link label stripping to PageInfo::stripTrailingUrlFromBody
...
- Add test cases for shortened URL link labels
2020-07-17 17:16:22 -04:00
Michael Vogel
713eda1dfe
Empty lines removed
2020-06-28 08:23:53 +02:00
Michael Vogel
2756c3249b
Fix notice "Undefined index: keywords"
2020-06-28 08:18:35 +02:00
Hypolite Petovan
f3323aff5e
Deprecate page_info functions to new PageInfo class
...
- Add tests for parts not using remote requests
- Add scheme requirement for page info URLs
- Add policy to keep label from stripped Page Info links
2020-06-17 13:24:44 -04:00