[Xfce4-commits] <midori:master> Handle <br> in NS plugin descriptions as \n

Christian Dywan noreply at xfce.org
Thu Feb 21 00:40:01 CET 2013


Updating branch refs/heads/master
         to 321f75980abedfe0be33ffd103ca2746c721a6a0 (commit)
       from 4b197b6b4d2797098c66bb09f5828021cfe2937e (commit)

commit 321f75980abedfe0be33ffd103ca2746c721a6a0
Author: Paweł Forysiuk <tuxator at o2.pl>
Date:   Wed Feb 20 22:07:50 2013 +0100

    Handle <br> in NS plugin descriptions as \n

 extensions/nsplugin-manager.vala |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/extensions/nsplugin-manager.vala b/extensions/nsplugin-manager.vala
index c270c54..1bcb929 100644
--- a/extensions/nsplugin-manager.vala
+++ b/extensions/nsplugin-manager.vala
@@ -34,6 +34,7 @@ namespace NSPlugins {
             try {
                 var regex = new Regex ("<a.+href.+>(.+)</a>");
                 desc = regex.replace (desc, -1, 0, "<u>\\1</u>");
+                desc = desc.replace ("<br>", "\n");
             }
             catch (Error error) { }
             GLib.Object (stock_id: Midori.Stock.PLUGINS,


More information about the Xfce4-commits mailing list