Revision 9344
Added by Aaron Marcuse-Kubitza over 11 years ago
Firefox_bookmarks.reformat.csv | ||
---|---|---|
23 | 23 |
" ICON=""data:.*?""",,"remove ICON attributes with inline image data, which are not needed and clutter up the svn diff" |
24 | 24 |
" LAST_MODIFIED="".*?""",,"remove LAST_MODIFIED attributes, which seem to change whenever the favicon is updated and clutter up the svn diff" |
25 | 25 |
,,#### bookmark text fixes |
26 |
(?<=^<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." |
|
26 |
"(^(?!.*<H3\b).* |
|
27 |
<DD>)(?!"|-+$)(?:[^:\n]*? description: )?",\1page'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." |
|
27 | 28 |
,,#### bookmark reorganization |
28 | 29 |
"(?s)(^<DL><p> |
29 | 30 |
<DT><H3 [^\n]* |
Also available in: Unified diff
lib/Firefox_bookmarks.reformat.csv: label page's description: don't do this for folders (i.e. descriptions preceded by an <H3> tag) because their descriptions are always author-added rather than from a web page. this avoids needing to add a - at the beginning of every folder's description.