~bibledit/bibledit/ubuntu-cloud

« back to all changes in this revision

Viewing changes to editone2/update.cpp

  • Committer: Teus Benschop
  • Date: 2022-08-30 18:42:32 UTC
  • Revision ID: teusjannette@gmail.com-20220830184232-a5bf5fkj14cqdx01
new upstream version

Show diffs side-by-side

added added

removed removed

Lines of Context:
173
173
  // and the existing USFM as a prioritized change-set.
174
174
  string loaded_verse_usfm = editone_logic_html_to_usfm (stylesheet, loaded_html);
175
175
  string edited_verse_usfm = editone_logic_html_to_usfm (stylesheet, edited_html);
176
 
  string existing_verse_usfm = usfm_get_verse_text_quill (old_chapter_usfm, verse);
 
176
  string existing_verse_usfm = filter::usfm::get_verse_text_quill (old_chapter_usfm, verse);
177
177
  existing_verse_usfm = filter_string_trim (existing_verse_usfm);
178
178
 
179
179
  
216
216
  string explanation;
217
217
  string message;
218
218
  if (good2go && bible_write_access && text_was_edited) {
219
 
    message = usfm_safely_store_verse (request, bible, book, chapter, verse, edited_verse_usfm, explanation, true);
 
219
    message = filter::usfm::safely_store_verse (request, bible, book, chapter, verse, edited_verse_usfm, explanation, true);
220
220
    bible_logic_unsafe_save_mail (message, explanation, username, edited_verse_usfm, book, chapter);
221
221
  }
222
222
 
280
280
    string editor_html (edited_html);
281
281
    string server_html;
282
282
    {
283
 
      string verse_usfm = usfm_get_verse_text_quill (new_chapter_usfm, verse);
 
283
      string verse_usfm = filter::usfm::get_verse_text_quill (new_chapter_usfm, verse);
284
284
      editone_logic_editable_html (verse_usfm, stylesheet, server_html);
285
285
    }
286
286
    vector <int> positions;