Part-DB / Part-DB-server

Part-DB is an Open source inventory management system for your electronic components
https://docs.part-db.de/
GNU Affero General Public License v3.0
911 stars 102 forks source link

Automatically extracted from notes picking links #469

Open Tolomaj opened 9 months ago

Tolomaj commented 9 months ago

Automatic extractor picking link from notes as parameter. The note: Datasheet není k nalezení proto tady je parametrově podobný produkt: [link](https://www.alibaba.com/product-detail/li-ion-13300-1-4wh-3_1600346287196.html)

To Reproduce Create a new note and put string abowe.

Expected behavior Dont extract links. Or some otlion to tur of extraction on some places.

Screenshots image image

Server Side

jbtronics commented 9 months ago

I slightly modified the extraction logic, so that it at least does not split the link in half. Now it looks like this: image

Its still not ideal, but I think at least more reasonable than before. The parameter extraction is basically a left over from the old Part-DB version, and its very difficult to let it properly handle markdown in all cases.