mirror of
https://github.com/wallabag/wallabag.git
synced 2025-08-01 17:38:38 +00:00
added commentsand fixed something forgotten
This commit is contained in:
parent
d31766300a
commit
f0a819a968
2 changed files with 9 additions and 1 deletions
|
@ -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');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue