Project

General

Profile

« Previous | Next » 

Revision 8786

lib/Firefox_bookmarks.reformat.csv: label page's description: support starting a description with a line containing only dashes (-) to indicate author comments. this is better than a newline, because a newline will be trimmed away on reimport into Firefox, such that reexporting it will lose the author comment indicator

View differences:

lib/Firefox_bookmarks.reformat.csv
28 28
",put ICON attributes with favicon contents on their own line so the rest of the line is easier to see
29 29
" LAST_MODIFIED="".*?""",,"remove LAST_MODIFIED attributes, which seem to change whenever the favicon is updated and clutter up the svn diff"
30 30
,,#### bookmark text fixes
31
(?<=^<DD>)(?!&quot;|$)(?:[^:\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."
31
(?<=^<DD>)(?!&quot;|-*$)(?:[^:\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."
32 32
,,#### bookmark reorganization
33 33
"(?s)(^<DL><p>
34 34
    <DT><H3 [^\n]*

Also available in: Unified diff