Jeremy Newman : do not wrap back link in p tag

Jeremy Newman jnewman at winehq.org
Mon Nov 21 08:38:09 CST 2016


Module: appdb
Branch: master
Commit: 9b857d1f559b916c02f3b5cd58f34353333a4335
URL:    http://source.winehq.org/git/appdb.git/?a=commit;h=9b857d1f559b916c02f3b5cd58f34353333a4335

Author: Jeremy Newman <jnewman at codeweavers.com>
Date:   Fri Nov 18 09:50:47 2016 -0600

do not wrap back link in p tag

---

 include/html.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/html.php b/include/html.php
index 3af125c..cc3b309 100644
--- a/include/html.php
+++ b/include/html.php
@@ -150,7 +150,7 @@ function html_back_link($howmany = 1, $url = "")
     {
         $url = 'javascript:history.back('.$howmany.');';
     }
-    return '<p><a href="'.htmlentities($url).'" class="btn btn-default"><i class="fa fa-arrow-left"></i> Back</a></p>'."\n";
+    return ' <a href="'.htmlentities($url).'" class="btn btn-default"><i class="fa fa-arrow-left"></i> Back</a> '."\n";
 }
 
 




More information about the wine-cvs mailing list