diff options
author | 2022-01-17 21:31:11 +0000 | |
---|---|---|
committer | 2022-01-17 15:25:22 -0800 | |
commit | cc3e65dd3c5a5e14afeafd81ef0d866c0fccabdf (patch) | |
tree | 5d691b58c4813f713f3317a926a74bdb8a5c9e36 /ui/static/js/modal_handler.js | |
parent | 7b0a4a7803c13f35720ca82ab30a4e619cf3c382 (diff) | |
download | v2-cc3e65dd3c5a5e14afeafd81ef0d866c0fccabdf.tar.gz v2-cc3e65dd3c5a5e14afeafd81ef0d866c0fccabdf.tar.zst v2-cc3e65dd3c5a5e14afeafd81ef0d866c0fccabdf.zip |
Handle atom feed with space around CDATA
Trim space around CDATA elements before extracting the CharData.
This problem was discovered when reading https://www.sethvargo.com/feed.xml.
Title and Summary fields have newlines and space between the <title>
element and the CDATA element. e.g.
<title>
<![CDATA[Entry title here]]>
</title>
This meant the title of the feed was coming into MiniFlux as,
<![CDATA[Entry title here]]>
Diffstat (limited to 'ui/static/js/modal_handler.js')
0 files changed, 0 insertions, 0 deletions