Project

General

Profile

« Previous | Next » 

Revision 14405

bugfix: lib/Firefox_bookmarks.reformat.csv: URLs: match only the uppercase tags used by Firefox, not any lowercase tags added by the user

View differences:

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;"">&para;</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;"">&para;</a>",add hyperlinked HTML anchors for external links' names
54 54
,,#### formatting fixes
55 55
&lt;([\w:-]+)\b.*?&gt;.*?&lt;/\1&gt;,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