URI:
       content_contenttypes_regression.xml - sfeed_tests - sfeed tests and RSS and Atom files
  HTML git clone git://git.codemadness.org/sfeed_tests
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
       content_contenttypes_regression.xml (1724B)
       ---
            1 <?xml version="1.0" encoding="utf-8"?>
            2 <feed xmlns="http://www.w3.org/2005/Atom">
            3 
            4 <!--
            5 from:
            6 
            7 commit 81499ca75a8c1cb2440c89241b5f5d06e5c44f5a
            8 Author: Hiltjo Posthuma <hiltjo@codemadness.org>
            9 Date:   Fri Jan 22 22:16:34 2021 +0100
           10 
           11     sfeed: fix regression with parsing content fields
           12 
           13     This regression introduced in commit e43b7a48 on Tue Oct 6 18:51:33 2020 +0200.
           14 
           15     After a content tag was parsed the "iscontenttag" variable was not reset.
           16 
           17     This caused 2 regressions:
           18     - It ignored other tags such as links after it.
           19     - It incorrectly set the content-type of a lesser priority field.
           20 
           21     Thanks to pazz0 for reporting it!
           22 -->
           23 
           24         <entry>
           25                 <content type="html"></content>
           26                 <summary type="html"></summary>
           27                 <link href="https://example.com/" rel="alternate" />
           28         </entry>
           29 
           30         <entry>
           31                 <content type="html"></content>
           32                 <summary type="text"></summary>
           33                 <link href="https://example.com/#2" rel="alternate" />
           34         </entry>
           35 
           36         <entry>
           37                 <content type="text"></content>
           38                 <summary type="html"></summary>
           39                 <link href="https://example.com/#3" rel="alternate" />
           40         </entry>
           41 
           42         <entry>
           43                 <summary type="html"></summary>
           44                 <content type="text"></content>
           45                 <link href="https://example.com/#4" rel="alternate" />
           46         </entry>
           47 
           48         <entry>
           49                 <summary type="html">abc</summary>
           50                 <content type="text">def</content>
           51                 <link href="https://example.com/#5" rel="alternate" />
           52         </entry>
           53 
           54         <entry>
           55                 <content type="text">def</content>
           56                 <summary type="html">abc</summary>
           57                 <link href="https://example.com/#6" rel="alternate" />
           58         </entry>
           59 
           60         <entry>
           61                 <content type="text">def</content>
           62                 <summary type="html">abc</summary>
           63                 <content type="text">def2</content>
           64                 <link href="https://example.com/#7" rel="alternate" />
           65         </entry>
           66 </feed>