diff options
Diffstat (limited to 'src/sisudoc/outputs/io_out/sqlite_collection_db.d')
| -rw-r--r-- | src/sisudoc/outputs/io_out/sqlite_collection_db.d | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/sisudoc/outputs/io_out/sqlite_collection_db.d b/src/sisudoc/outputs/io_out/sqlite_collection_db.d index 727c844..d5b2dcf 100644 --- a/src/sisudoc/outputs/io_out/sqlite_collection_db.d +++ b/src/sisudoc/outputs/io_out/sqlite_collection_db.d @@ -64,9 +64,10 @@ static auto rgx = RgxO(); static auto rgx_xhtml = RgxXHTML(); static auto mkup = InlineMarkup(); long _metadata_tid_lastrowid; -/+ ↓ sqlite db schema version, stamped into the db as PRAGMA user_version +/ -/+ bump whenever the table or index definitions in this module change, and +/ -/+ bump the matching expectation in sisudoc-spine-search-cgi +/ +/+ ↓ sqlite db schema version, stamped into the db as PRAGMA user_version + bump whenever the table or index definitions in this module change, and + bump the matching expectation in sisudoc-spine-search-cgi + +/ enum sqlite_db_schema_version = 1; /+ ↓ tally of failed sqlite statements, shared: sqlite output may run in parallel +/ private shared int _sqlite_failure_tally = 0; @@ -368,7 +369,7 @@ template SQLiteFormatAndLoadObject() { .replaceAll(rgx.inline_subscript, "<sub>$1</sub>") .replaceAll(rgx.inline_strike, "<del>$1</del>") .replaceAll(rgx.inline_insert, "<ins>$1</ins>") - .replaceAll(rgx.inline_mono, "<tt>$1</tt>") + .replaceAll(rgx.inline_mono, "<code>$1</code>") .replaceAll(rgx.inline_cite, "<cite>$1</cite>"); return _txt; } @@ -414,7 +415,7 @@ template SQLiteFormatAndLoadObject() { .replaceAll(rgx.inline_subscript, "<sub>$1</sub>") .replaceAll(rgx.inline_strike, "<del>$1</del>") .replaceAll(rgx.inline_insert, "<ins>$1</ins>") - .replaceAll(rgx.inline_mono, "<tt>$1</tt>") + .replaceAll(rgx.inline_mono, "<code>$1</code>") .replaceAll(rgx.inline_cite, "<cite>$1</cite>"); return _txt; } @@ -490,7 +491,7 @@ template SQLiteFormatAndLoadObject() { rgx.inline_image, ("$1<img src=\"" ~ _img_pth - ~ "$3\" width=\"$4\" height=\"$5\" naturalsizeflag=\"0\" align=\"bottom\" border=\"0\" /> $6")); + ~ "$3\" width=\"$4\" height=\"$5\" /> $6")); } return _txt; } @@ -681,7 +682,7 @@ template SQLiteFormatAndLoadObject() { string _txt = munge_html(doc_matters, obj); _txt = (obj.attrib.bullet) ? ("●  " ~ _txt) : _txt; _txt = inline_markup(doc_matters, obj, _txt); - string o = format(q"┃<p class="%s" indent="h%si%s"> + string o = format(q"┃<p class="%s" data-indent="h%si%s"> %s </p>┃", obj.metainfo.is_a, |
