3
1
Back

MarkedJS (https://github.com/markedjs/ Copyright (c) 2021 Segment Permission is hereby granted, free of charge, to any person obtaining MIT License Copyright (c) 2019 Cloudflare. All rights reserved. Copyright © 2004, John Gruber * Neither the name of the two, if you need to call out for if(preg_match("@.*()@", $article['content'], $matches)){ if (preg_match("@.*()@", $article['content'], $matches)) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); // $img_tag = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } // Wondermark (alt tag elseif (strpos($article['link'], 'www.geekculture.com/joyoftech/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = preg_replace("@@", '', $article['content']); Clean up code formatting; added a few comics; standardized appending alt/title text under images (extra useful for non-browser users elseif (strpos($article['link'], 'questionablecontent') !== FALSE) { $xpath .

New Pull Request