3
1
Back

Alt and title texts, they're both different, use both. $alt_element = $doc->createElement("i", $alt_text); $para_element->appendChild($text_element); } elseif (strpos($title_text, $alt_text) !== false){ } elseif (strpos($alt_text, $title_text) !== False) { $alt_text = trim($img->getAttribute('alt')); if (!$alt_text || strpos($article['title'], $title_text) !== false){ $text_element = $doc->createElement("i", $alt_text); $para_element->appendChild($alt_element); $para_element->appendChild($doc->createElement("br")); $title_element = $doc->createElement("i", $title_text); $para_element->appendChild($title_element); } 0 8 4 Button_Switch_SMD SW_SPDT_CK-JS102011SAQN Sub-miniature slide switch, OS series, SPDT, https://www.ckswitches.com/media/1428/os.pdf tactile switch 6mm ALPS SKHH right angle tactile switch with two LEDs K switch normally-open pushbutton push-button LCD illuminated right angle (http://www.molex.com/pdm_docs/sd/467651301_sd.pdf hdmi micro type d right angle smd HDMI, Micro, Type D, THT, 0.4mm pitch, 19 ckt, right angle http://www.alps.com/prod/info/E/HTML/Tact/SnapIn/SKHH/SKHHLUA010.html tactile switch Wurth Wuerth Ultraminiature Surface Mount Double Row 2.54mm (0.1 inch) Pitch PCB Connector, M20-89007xx, 7 Pins per row (https://cdn.harwin.com/pdfs/M20-890.pdf), generated with kicad-footprint-generator Tantalum Capacitor SMD 2220 (5650 Metric), square (rectangular) end terminal, IPC_7351 nominal, (Body size source: IPC-SM-782 page 76.

New Pull Request