Prechádzať zdrojové kódy

Merge branch 'master' of ssh://biuro.biall-net.pl:2222/plabudda/se

* 'master' of ssh://biuro.biall-net.pl:2222/plabudda/se:
  changed output to html in url action Ant
a.binder 9 rokov pred
rodič
commit
70a7c47cda
1 zmenil súbory, kde vykonal 2 pridanie a 1 odobranie
  1. 2 1
      SE/se-lib/Route/UrlAction/Ant.php

+ 2 - 1
SE/se-lib/Route/UrlAction/Ant.php

@@ -92,7 +92,8 @@ class Route_UrlAction_Ant extends Route_Ant {// @doc @see Route_Ant
       }
       echo UI::h('h3', [], "output:");
       if (empty($html)) UI::alert('danger', "Empty output!");
-      echo UI::h('pre', [], htmlspecialchars(implode("\n", $html)));
+      // echo UI::h('pre', [], htmlspecialchars(implode("\n", $html)));
+      echo UI::h('div', ['class'=>"container", 'style'=>"padding:12px; border:1px solid #ddd"], $html);
     } catch (Exception $e) {
       UI::alert('danger', $e->getMessage());
       DBG::log($e);