-- Leo's gemini proxy
-- Connecting to git.thebackupbox.net:1965...
-- Connected
-- Sending request
-- Meta line: 20 text/gemini
repo: janusweb action: commit revision: path_from: revision_from: b332b0e6efbc0a8b128aba7060d3914301971548: path_to: revision_to:
commit b332b0e6efbc0a8b128aba7060d3914301971548 Author: James Baicoianu <james_github@baicoianu.com> Date: Sun Apr 24 00:40:21 2022 -0700 Support for node text contents with newlines diff --git a/scripts/external/JanusFireboxParser.js b/scripts/external/JanusFireboxParser.js
--- a/scripts/external/JanusFireboxParser.js +++ b/scripts/external/JanusFireboxParser.js @@ -305,7 +305,7 @@ JanusFireboxParser.prototype.parseXML = function(imgxml, leaf, forceLower) { } else if (child.nodeName) { if (child.nodeName == "#text" || child.nodeName == "#cdata-section") { // this gets confused if you have multiple text/cdata nodes... - if (!child.nodeValue.match(/^[\s\n]*$/m)) { + if (!child.nodeValue.match(/^[\s\n]*$/s)) { parent._content = child.nodeValue; } } else {
-----END OF PAGE-----
-- Response ended
-- Page fetched on Sun Jun 2 16:31:21 2024