face-hh / webx

An alternative for the World Wide Web - browse websites such as buss://yippie.rizz made in HTML, CSS and Lua. Custom web browser, custom HTML rendering engine, custom search engine, and more.
Apache License 2.0
1.84k stars 155 forks source link

BUG: List items disappear when they contain a link #169

Open jabinstech opened 3 months ago

jabinstech commented 3 months ago

Whenever I visit a page on Napture that has a link inside of a list element, all of the text within the list element disappears. For example, if this is in the body of the HTML:

<ol>
    <li><a href="buss://blog.root">blog.root</a> - my personal mini-blog, notebook style</li>
</ol>

the whole list item will just be blank.

To Reproduce

  1. Go to any page that has links in a list (i used jabin.it and wiki.fr)
  2. Look at the list and realize items with links are just blank.

Expected behavior The link to look normal

Screenshots image image

Environment

EDIT: I don't think the actual version is 1.2.2, that's just what it says. I used the latest from the GitHub, not the releases tab.

GStudiosX2 commented 3 months ago

This is normal li's only accept text nodes also for version you could probably put the commit id

jabinstech commented 3 months ago

I believe it's commit 6acdf7d

GStudiosX2 commented 3 months ago

Added support in my fork https://github.com/GStudiosX2/webx probably gonna pr soon

jabinstech commented 3 months ago

Thanks!