3
1
Back

Return array( $html, $content_type ); } function rel2abs($rel, $base) { function about() { return $base.$rel; } extract(parse_url($base)); $path = preg_replace('#/[^/]*$#', '', $path); /* replace '//' or '/./' or '/foo/../' with '/' */ $re = array('#(/\.?/)#', '#/(?!\.\.)[^/]+/\.\./#'); for($n=1; $n>0; $abs=preg_replace($re, '/', $abs, -1, $n)) {} /* absolute URL is ready! */ } /* absolute URL is ready! */ return $scheme . '://' . $abs; } From b404e3f9c5cb79c1ce2c1b1d88da892bdd69efea Mon Sep 17 00:00:00 2001 Subject: [PATCH 09/18] Apply jlcpcb's design rules, small fixes for those couple more minor clearance tweaks 99b8f1493d More layout updates ttrss-plugin- _comics/init.php 424 lines $alt_element = $doc->createElement("i", $title_text); $para_element->appendChild($title_element); } Clean up code formatting; added a few comics; standardized appending alt/title text 2015-04-12 23:37:10 -07:00 Latest commits for file.

New Pull Request