Revision 14405
Added by Aaron Marcuse-Kubitza over 10 years ago
Firefox_bookmarks.reformat.csv | ||
---|---|---|
49 | 49 |
<DT><H3[^\n]*?>([^\n]*?)</H3>$)",\1,use page title as window title |
50 | 50 |
,,#### indexing |
51 | 51 |
(<DT>)(?:<a name=.*?>)?(<H3[^\n]*?>(.*?)</H3>)(?:</a>)?,"\1<a name=""\3"" href=""#\3"">\2</a>",add hyperlinked HTML anchors for folders |
52 |
"(?i)(<A\b.*? HREF=""(?!#)(.*?)"")(?: name="".*?"")?","\1 name=""\2""",add HTML anchors for external links' URLs
|
|
53 |
"(?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 |
"(<A\b.*? HREF=""(?!#)(.*?)"")(?: name="".*?"")?","\1 name=""\2""",add HTML anchors for external links' URLs |
|
53 |
"(<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 |
|
54 | 54 |
,,#### formatting fixes |
55 | 55 |
<([\w:-]+)\b.*?>.*?</\1>,unescape_html(),"unescape HTML in page 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
bugfix: lib/Firefox_bookmarks.reformat.csv: URLs: match only the uppercase tags used by Firefox, not any lowercase tags added by the user