move formatting from JS to PHP
[mdref/mdref] / views / index.phtml
index db2accd3867eaf8ee18a9cac969e06e34bb1c55e..d2bd1fe741cb2966216b3da3dec823d167150420 100644 (file)
@@ -1,3 +1,4 @@
+<?php ob_start() ?>
 
 <h1>mdref</h1>
 
@@ -20,3 +21,5 @@
                <?php endforeach; ?>
        <?php endforeach; ?>
 <?php endif; ?>
+
+<?= $markup(ob_get_clean()); ?>