rkd77 / elinks

Fork of elinks
Other
349 stars 38 forks source link

Relative HTTP and gemini links shown as text #132

Closed Strahinja closed 2 years ago

Strahinja commented 2 years ago

In the latest version of elinks (0.15) cloned from repo and built with:

./configure --enable-gettext --enable-gemini \
        --enable-256-colors --enable-true-color --enable-exmode --enable-html-highlight \
        --enable-fastmem --with-openssl

links with relative hrefs, for example

<a href="/somedir">Label</a>

behave as text and are not highlighted when navigating with arrow keys, nor numbered with . key. Example would be the navigation menu of my web page, https://strahinja.org.

The second type of links with same issue are the gemini:// links. For example, this link:

<a href="gemini://gemini.strahinja.org">Gemini version</a>

behaves as text. It is not highlighted with arrow keys nor numbered with . key.

rkd77 commented 2 years ago

Thanks for the report. The cause was change to char * long time ago. Some characters in text of link are not from ASCII. I guess that a few similar bugs left.

Strahinja commented 2 years ago

That solved this issue, thanks! I'm using cyrillic in other places as well, so I will keep an eye if there are any similar bugs left and report.