Revision 9786
Added by Aaron Marcuse-Kubitza about 11 years ago
Firefox_bookmarks.reformat.csv | ||
---|---|---|
49 | 49 |
(<DT>)(?:<a name=.*?>)?(<H3[^\n]*?>(.*?)</H3>)(?:</a>)?,"\1<a name=""\3"" href=""#\3"">\2</a>",add hyperlinked HTML anchors for folders |
50 | 50 |
"(?i)(<A\b.*? HREF=""(?!#)(.*?)"")(?: name="".*?"")?","\1 name=""\2""",add HTML anchors for external links' URLs |
51 | 51 |
"(?i)(<A\b[^>]* HREF=""(?!#)[^>]*>(?!<H3\b)(?:<[^>]*>)*([^<]*)</A>)(?:<a name=.*?>.*?</a>)?","\1<a name=""\2"" href=""#\2"" style=""margin-left: 0.5em;"">¶</a>",add hyperlinked HTML anchors for external links' names |
52 |
,,#### formatting fixes |
|
53 |
<([\w:-]+)\b.*?>.*?</\1>,unescape_html(),"unescape HTML in page's description. must happen *after* adding HTML anchors to <a> tags, so the name attribute is added to the *bookmark's* <a> tag." |
Also available in: Unified diff
lib/Firefox_bookmarks.reformat.csv: unescape HTML in page's description, such as links to more info. this is necessary to properly render the persistent shells link in the screen > scrollback folder description.