Re: lynx corrupts bookmark file

Thomas Dickey <[email protected]>
Newsgroups gmane.comp.web.lynx.devel
Message-ID <[email protected]>
On Tue, Feb 20, 2024 at 02:06:10AM +0000, Thorsten Glaser wrote:
> Another one, probably new (maybe when lynx started adding
> ending tags):
> 
> I sometimes hand-edit my bookmarks file to put in new links
> or extra information, or even to give structure to some
> entries making them sub-entries etc.
> 
> So now I have:
> 
> […]
> <li><a href="…">blabla</a>; details:<ol>
> 	<li>one</li>
> 	<li>two</li>
> 	<li>three</li>
> 	</ol></li>
> <li><a href="…">next entry</a></li>
> […]
> 
> Upon saving a new bookmark entry, lynx appends it behind
> “three” removing everything else in the file(!). This is
> reproducible.

actually the comment at the top of the file says (before editing)

<!--
Note: if you edit this file manually
      you should not change the format within the lines
      or add other HTML markup.
      Make sure any bookmark link is saved as a single line.
-->

> 
> If I use an ul instead, it doesn’t seem to do that, but
> sometimes I get…

The current snapshot (v2-9-0e) addresses this -

https://github.com/ThomasDickey/lynx-snapshots

(I've other changes in mind, but if you soon find some flaw in this, I'll fix)

-- 
Thomas E. Dickey <[email protected]>
https://invisible-island.net
signature.asc (application/pgp-signature, 659 B)
-----BEGIN PGP SIGNATURE-----

iQGzBAABCgAdFiEEGYgtkt2kxADCLA1WzCr0RyFnvgMFAmX8lCEACgkQzCr0RyFn
vgME4gwAlo2Jp4Yad+F0xVUZebwLlrBCS7agFb7/t0IANp1Xv+QLWewSqAQiwtk2
Txoi8a3sGrjDJ2VXhfGOZaJeT1sQE/HlRBZDIvvXIBCq1pepff5k6l1buy1vv7xC
2nP9V2isMoLnBjtDJlf8gnNbjnJ9+yBXaNjc9im+3d0vKBcU1JbdgUMpUgcPFri3
xhGXIA3KDLAd5ujyOPdO6/cZm/9g3NCVm0TG+b5bTggawmDAsQfamMUPe75tM204
TEiGaTUOyBLxz77Ap1KpYlWydgKa+wp5hO+7H44AS2lIHuQ4c+iQB7BrYfGfQtps
8tO7LVkbrm9QamblUjLg38DOfa3RenCy/gADvGYWkU0uUEju4W+7XQOwhcQGv3zp
dnpV/QPFNHvnr7muXMwJGyO8XzBMRkUn1ccyDQj0TK+s2SfrzhCfifxKktclnBHW
NLtvK67De/y8fPs/cjs2Ws8K6+bb8GKbyb4sTsPORl3nPoqnOkf28f3BFl0/kc73
cOgEln30
=GIc+
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.