Revision 8745
Added by Aaron Marcuse-Kubitza over 11 years ago
lib/Firefox_bookmarks.reformat.csv | ||
---|---|---|
1 | 1 |
match,repl,comment |
2 |
,,#### formatting fixes |
|
2 | 3 |
"(?<=</TITLE> |
3 | 4 |
)(?!<style)","<style type=""text/css""> |
4 | 5 |
/*fixes for default HTML tag formatting*/ |
... | ... | |
16 | 17 |
(?! *<).*)*(?= |
17 | 18 |
*<DL>)","\g<0> |
18 | 19 |
</DD>",close <DD> when followed by tags which don't autoclose it properly |
20 |
,,#### svn diff cleanup |
|
19 | 21 |
" ICON=""data:.*?""",,"remove ICON attributes with favicon contents, which clutter up the svn diffs" |
20 | 22 |
" LAST_MODIFIED="".*?""",,"remove LAST_MODIFIED attributes, which seem to change whenever the favicon is updated and clutter up the svn diff" |
23 |
,,#### bookmark text fixes |
|
21 | 24 |
(?<=^<DD>)(?!"|$)(?:[^:\n]*? description: )?,page's description: ,"label page's description as such to avoid confusing it with comments added by the bookmark author, who may not agree with it. the page's description is in the 1st paragraph(s), when provided. if the bookmark desc starts with "" or a blank line, this is an author-added quotation or comment and not the page's description." |
25 |
,,#### bookmark reorganization |
|
22 | 26 |
"(?<=^<DL><p> |
23 | 27 |
)((?s).*)(^ <DT><H3 .*PERSONAL_TOOLBAR_FOLDER=""true"">Bookmarks Toolbar</H3> |
24 | 28 |
(?:(?s).*?) |
Also available in: Unified diff
lib/Firefox_bookmarks.reformat.csv: divided replacements into sections