node-sword-interface 1.0.19 → 1.0.21
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/binding.gyp
CHANGED
|
@@ -126,6 +126,9 @@
|
|
|
126
126
|
],
|
|
127
127
|
"libraries": [
|
|
128
128
|
'-l<(module_root_dir)/build/sword-build-win32/lib/sword.lib',
|
|
129
|
+
'-l<(module_root_dir)/build/sword-build-win32/lib/icuuc.lib',
|
|
130
|
+
'-l<(module_root_dir)/build/sword-build-win32/lib/icuin.lib',
|
|
131
|
+
'-l<(module_root_dir)/build/sword-build-win32/lib/icudt.lib',
|
|
129
132
|
'-l<(module_root_dir)/build/sword-build-win32/lib/libbz2.lib',
|
|
130
133
|
'-l<(module_root_dir)/build/sword-build-win32/lib/liblzma.lib',
|
|
131
134
|
'-l<(module_root_dir)/build/sword-build-win32/lib/libcurl_imp.lib',
|
package/package.json
CHANGED
package/scripts/build_sword.sh
CHANGED
|
@@ -34,7 +34,7 @@ $headers = @{}
|
|
|
34
34
|
$github_token = $env:GITHUB_TOKEN
|
|
35
35
|
|
|
36
36
|
# --- Set the uri for the release
|
|
37
|
-
$URI = "https://api.github.com/repos/ezra-bible-app/sword-build-win32/releases/tags/v1.
|
|
37
|
+
$URI = "https://api.github.com/repos/ezra-bible-app/sword-build-win32/releases/tags/v1.8.900-2022-11-06"
|
|
38
38
|
|
|
39
39
|
if ($Env:CI -eq "true") {
|
|
40
40
|
Write-Host "GitHub actions build ... using GITHUB_TOKEN for authentication!"
|
|
@@ -86,6 +86,7 @@ string TextProcessor::getFilteredText(const string& text, int chapter, int verse
|
|
|
86
86
|
static string itemEndElement = "</item>";
|
|
87
87
|
static string hiBold = "<hi type=\"bold";
|
|
88
88
|
static string hiItalic = "<hi type=\"italic";
|
|
89
|
+
static string hiSuper = "<hi type=\"super";
|
|
89
90
|
|
|
90
91
|
static regex milestoneFilter = regex("<milestone.*?/>");
|
|
91
92
|
static regex segStartElementFilter = regex("<seg.*?>");
|
|
@@ -171,6 +172,7 @@ string TextProcessor::getFilteredText(const string& text, int chapter, int verse
|
|
|
171
172
|
this->findAndReplaceAll(filteredText, itemEndElement, "</li>");
|
|
172
173
|
this->findAndReplaceAll(filteredText, hiBold, "<hi class=\"bold");
|
|
173
174
|
this->findAndReplaceAll(filteredText, hiItalic, "<hi class=\"italic");
|
|
175
|
+
this->findAndReplaceAll(filteredText, hiSuper, "<hi class=\"super");
|
|
174
176
|
|
|
175
177
|
filteredText = regex_replace(filteredText, selfClosingElement, "<$2 $3></$2>");
|
|
176
178
|
|