[libvirt] [PATCH 11/15] NEWS: Fix newlines

Martin Kletzander mkletzan at redhat.com
Wed Oct 14 13:09:19 UTC 2015


On Wed, Oct 14, 2015 at 10:36:07AM +0200, Andrea Bolognani wrote:
>Some <br/> tags were missing from the end of the corresponding
>line, some of there were in the middle of the line instead.
>---
> docs/news.html.in | 199 +++++++++++++++++++++++++++---------------------------
> 1 file changed, 99 insertions(+), 100 deletions(-)
>

This one got me thinking.  Can't we get rid of all those line breaks
and add them in the XSLT?  That'd be great.  Mainly those that are
being fixed in the first hunk, I don't care either way about those in
the second hunk (although they would follow the same rule anyways.

>diff --git a/docs/news.html.in b/docs/news.html.in
>index c5b4458..4b8f80f 100644
>--- a/docs/news.html.in
>+++ b/docs/news.html.in
>@@ -610,9 +610,9 @@
>    <h3>1.2.17: Jul 02 2015</h3>
>     <ul>
>       <li>Features:<br/>
>-      numerous improvements and refactoring of the parallels driver (Maxim Nestratov)
>-      hardening of vcpu code (Peter Krempa)
>-      hardening of migration code (Jiri Denemark)
>+      numerous improvements and refactoring of the parallels driver (Maxim Nestratov),<br/>
>+      hardening of vcpu code (Peter Krempa),<br/>
>+      hardening of migration code (Jiri Denemark)<br/>
>       </li>
>
>       <li>Documentation:<br/>
>@@ -2808,7 +2808,7 @@
>       Internal driver refactoring (Daniel P. Berrange)<br/>
>       </li>
>
>-      <li>Documentation
>+      <li>Documentation:<br/>
>       virsh: Adjust the text in man page regarding qemu-attach (John Ferlan),<br/>
>       HACKING: Regenerate after recent change (Peter Krempa),<br/>
>       fix an improper git browsable address (Chen Hanxiao),<br/>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20151014/7b33727e/attachment-0001.sig>


More information about the libvir-list mailing list