|
@@ -366,8 +366,16 @@ impl WalkerParser {
|
|
|
|
|
|
if class_hash.contains("ChapterContent_content") {
|
|
if class_hash.contains("ChapterContent_content") {
|
|
// Content.
|
|
// Content.
|
|
|
|
+ //
|
|
|
|
+ // _qt__ shows up in the NIV intro.
|
|
|
|
+
|
|
let quoted = self.classes.contains("ChapterContent_q1")
|
|
let quoted = self.classes.contains("ChapterContent_q1")
|
|
- || self.classes.contains("ChapterContent_q2");
|
|
|
|
|
|
+ || self.classes.contains("ChapterContent_q2")
|
|
|
|
+ || self.classes.contains("ChapterContent_qt");
|
|
|
|
+
|
|
|
|
+ // _wj__ seen in documents.
|
|
|
|
+ // _wordsofchrist was in the css stylesheet, but not seen.
|
|
|
|
+
|
|
let red = self.classes.contains("ChapterContent_wj")
|
|
let red = self.classes.contains("ChapterContent_wj")
|
|
|| self.classes.contains("ChapterContent_wordsofchrist");
|
|
|| self.classes.contains("ChapterContent_wordsofchrist");
|
|
let text = Self::element_text(element);
|
|
let text = Self::element_text(element);
|
|
@@ -476,15 +484,6 @@ pub fn extract_verses(filename: &str) -> Result<(String, u8, config::BasicVerses
|
|
v.push(config::BasicVerseJSON::Heading(heading.clone()));
|
|
v.push(config::BasicVerseJSON::Heading(heading.clone()));
|
|
heading.clear();
|
|
heading.clear();
|
|
}
|
|
}
|
|
- /*
|
|
|
|
- if result.verses.len() < verse_number as usize {
|
|
|
|
- bail!(
|
|
|
|
- "Len = {}, wanting {}",
|
|
|
|
- result.verses.len() + 1,
|
|
|
|
- verse_number
|
|
|
|
- );
|
|
|
|
- }
|
|
|
|
- */
|
|
|
|
}
|
|
}
|
|
VerseInformation::Note(n) => {
|
|
VerseInformation::Note(n) => {
|
|
if verse_number == 0 {
|
|
if verse_number == 0 {
|