~bibledit/bibledit/ubuntu-cloud-beta

« back to all changes in this revision

Viewing changes to unittests/text.cpp

  • Committer: Teus Benschop
  • Date: 2022-10-14 16:03:26 UTC
  • Revision ID: teusjannette@gmail.com-20221014160326-42ybrpft4bblpruk
new upstream version

Show diffs side-by-side

added added

removed removed

Lines of Context:
1177
1177
    )";
1178
1178
    // Test converting the USFM with an image to html.
1179
1179
    {
1180
 
      string standard_html = R"(<p class="p"><span class="v">1</span><span> </span><span>Verse one. </span></p><img alt="" src="bibleimage2.png" width="100%" /><p><span>caption</span></p><p><span class="v">2</span><span> </span><span>Verse two.</span></p>)";
 
1180
      string standard_html = R"(<p class="p"><span class="v">1</span><span> </span><span>Verse one. </span></p><img alt="" src="bibleimage2.png" width="100%" /><p class="fig"><span>caption</span></p><p><span class="v">2</span><span> </span><span>Verse two.</span></p>)";
1181
1181
      string html;
1182
1182
      Filter_Text filter_text = Filter_Text (bible);
1183
1183
      filter_text.html_text_standard = new Html_Text (bible);
1208
1208
 
1209
1209
1 Verse one. 
1210
1210
 
 
1211
 
 
1212
 
1211
1213
caption
1212
1214
 
1213
1215
2 Verse two.