Part-DB-server icon indicating copy to clipboard operation
Part-DB-server copied to clipboard

Automatically extracted from notes picking links

Open Tolomaj opened this issue 1 year ago • 1 comments

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

  • Part-DB Version: 1.10.1
  • PHP Version: PHP 8.1.27

Tolomaj avatar Jan 04 '24 06:01 Tolomaj

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.

jbtronics avatar Jan 06 '24 14:01 jbtronics