From f0a819a968e5d935c757bb65acdfbca480398274 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Fri, 22 May 2015 20:09:23 +0200 Subject: added commentsand fixed something forgotten --- inc/poche/Tools.class.php | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'inc/poche/Tools.class.php') diff --git a/inc/poche/Tools.class.php b/inc/poche/Tools.class.php index 1c554590..f34e8beb 100755 --- a/inc/poche/Tools.class.php +++ b/inc/poche/Tools.class.php @@ -420,6 +420,14 @@ final class Tools return str_replace('+', '', $token); } + /** + * + * Returns the doctype for an HTML document (used for Mozilla Bookmarks) + * @param simple_html_dom $doc + * @return doctype $el + * + */ + function get_doctype($doc) { $els = $doc->find('unknown'); -- cgit v1.2.3