node-sword-interface 1.0.106 → 1.0.107
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/deploy_local.sh
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/bin/bash
|
|
2
2
|
|
|
3
|
-
PROJECT_DIR='ezra-
|
|
3
|
+
PROJECT_DIR='ezra-bible-app'
|
|
4
4
|
WORK_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
|
5
5
|
rm -rf $WORK_DIR/../$PROJECT_DIR/node_modules/node-sword-interface
|
|
6
6
|
cp -a $WORK_DIR $WORK_DIR/../$PROJECT_DIR/node_modules/node-sword-interface
|
package/package.json
CHANGED
|
@@ -138,7 +138,7 @@ string TextProcessor::getFilteredText(const string& text, int chapter, int verse
|
|
|
138
138
|
this->findAndReplaceAll(filteredText, chapterFilter, "<chapter class=\"sword-markup sword-chapter\"");
|
|
139
139
|
this->findAndReplaceAll(filteredText, lbBeginParagraph, "");
|
|
140
140
|
this->findAndReplaceAll(filteredText, lbEndParagraph, " <div class=\"sword-markup sword-paragraph-end\"><br></div>");
|
|
141
|
-
this->findAndReplaceAll(filteredText, emptyParagraphElement, "");
|
|
141
|
+
this->findAndReplaceAll(filteredText, emptyParagraphElement, "<br/><br/>");
|
|
142
142
|
this->findAndReplaceAll(filteredText, lbElementFilter, "<div class=\"sword-markup sword-lb\" ");
|
|
143
143
|
this->findAndReplaceAll(filteredText, lElementFilter, "<div class=\"sword-markup sword-l\" ");
|
|
144
144
|
this->findAndReplaceAll(filteredText, lgElementFilter, "<div class=\"sword-markup sword-lg\" ");
|