mirror of
https://github.com/miniflux/v2.git
synced 2025-08-11 17:51:01 +00:00
Improve handling of Atom text content with CDATA
This commit is contained in:
parent
c8c1f05328
commit
5877048749
2 changed files with 7 additions and 5 deletions
|
@ -531,7 +531,7 @@ func TestParseEntryWithTextSummary(t *testing.T) {
|
|||
<link href="http://example.org/d"/>
|
||||
<id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a</id>
|
||||
<updated>2003-12-13T18:30:02Z</updated>
|
||||
<summary type="text"><![CDATA[AT&T <S>]]></summary>
|
||||
<summary type="text"><![CDATA[AT&T <S>]]></summary>
|
||||
</entry>
|
||||
</feed>`
|
||||
|
||||
|
@ -583,7 +583,7 @@ func TestParseEntryWithTextContent(t *testing.T) {
|
|||
<link href="http://example.org/d"/>
|
||||
<id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a</id>
|
||||
<updated>2003-12-13T18:30:02Z</updated>
|
||||
<content><![CDATA[AT&T <S>]]></content>
|
||||
<content><![CDATA[AT&T <S>]]></content>
|
||||
</entry>
|
||||
|
||||
</feed>`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue