| Summary: | UrlFilter does not handle leading whitespace well | ||
|---|---|---|---|
| Product: | [Applications] konsole | Reporter: | Kai Uwe Broulik <kde> |
| Component: | general | Assignee: | Konsole Bugs <konsole-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | martin.sandsmark |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | https://commits.kde.org/konsole/f268b33d8440186fe51b712713830eb87f78b48e | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
| Attachments: | Wrong underline | ||
|
Description
Kai Uwe Broulik
2018-01-18 14:19:28 UTC
Martin, do you have time to look at this? 2e86be05dc36189830c681fc476936ec65008e96 to trim leading whitespace caused this issue. It happens regardless of if the option is set. + decoder.setLeadingWhitespace(false); in Filter.cpp is the issue; changing it to true fixes this issue and the trimming still works. Git commit f268b33d8440186fe51b712713830eb87f78b48e by Kurt Hindenburg. Committed on 13/02/2018 at 21:34. Pushed by hindenburg into branch 'master'. Change defaults of keeping whitespace to true Without this, any links that are on a line with leading spaces are incorrectly handled. M +2 -2 src/Filter.cpp https://commits.kde.org/konsole/f268b33d8440186fe51b712713830eb87f78b48e |