Bug 449271

Summary: A dollar sign in a URL in an href from hyperref will trigger math mode. Escaping (\&) doesn't work.
Product: [Applications] kile Reporter: Dan <autopr3z>
Component: editorAssignee: Michel Ludwig <michel.ludwig>
Status: REPORTED ---    
Severity: minor    
Priority: NOR    
Version First Reported In: 2.9.93   
Target Milestone: ---   
Platform: Debian stable   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Dan 2022-01-27 22:50:46 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Call the hyperref package.
2. Insert an \href, using a URL with a dollar sign in it.
3. Add content below.

OBSERVED RESULT
All content after the lone $ is highlighted red, as if I am in math mode. 

EXPECTED RESULT
The lone dollar sign should not have triggered math mode highlighting.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Debian 11 Stable
(available in About System)
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION