From: Andrea Bolognani Date: Tue, 28 Mar 2017 15:13:39 +0000 (+0200) Subject: news: Allow empty
elements X-Git-Tag: v3.3.0-rc1~307 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a26603f684695869396e4d4b36306cc190bdb150;p=thirdparty%2Flibvirt.git news: Allow empty
elements Creating dummy elements was a workaround for the HTML DTD not allowing empty
    elements, but we can do better by tweaking the the XSLT stylesheet. --- diff --git a/docs/news-html.xsl b/docs/news-html.xsl index dcbab86842..dd323f9b3f 100644 --- a/docs/news-html.xsl +++ b/docs/news-html.xsl @@ -57,9 +57,11 @@ -
      - -
    + +
      + +
    +
    diff --git a/docs/news.xml b/docs/news.xml index 014a439f19..9c0dcfd23d 100644 --- a/docs/news.xml +++ b/docs/news.xml @@ -23,19 +23,10 @@
    - - -
    - - -
    - - -
    @@ -44,19 +35,10 @@
    - - -
    - - -
    - - -
    diff --git a/docs/schemas/news.rng b/docs/schemas/news.rng index 94a6870c18..ec4313f621 100644 --- a/docs/schemas/news.rng +++ b/docs/schemas/news.rng @@ -35,21 +35,18 @@ - + - + - - - \n[^\n]+\n + - - - + + \n[^\n]+\n + +