LinkifyHTML() doesn't exlude the bracket at the end of URLs.
Description
Some URLs in the footprint description are wrapped with brackets. However, the current regular expression in common/string_utils.cpp/LinkifyHTML()
extracts these URLs with a bracket at the end of them, making the URLs invalid.
This can be fixed in !2195 (merged)
Steps to reproduce
- Open PCB Editor
- Click
Place Footprints
- Search
SW_DIP_SPSTx01_Slide_6.7x4.1mm_W6.73mm_P2.54mm_LowProfile_JPin
and click it. - Click the datasheet URL in the description
- The browser shows the URL is invalid
KiCad Version
Application: KiCad PCB Editor x64 on x64
Version: 9.0.0, release build
Edited by wh201906