We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 201f756 commit d16786eCopy full SHA for d16786e
src/PhpWord/Shared/Html.php
@@ -1321,11 +1321,6 @@ private static function convertRgb(string $rgb): string
1321
return trim($rgb, '# ');
1322
}
1323
1324
- /**
1325
- * @param string $xml
1326
- *
1327
- * @return bool
1328
- */
1329
private static function isRubyCode(string $xml): bool
1330
{
1331
$pattern = '/<ruby\b([^>]*)>(.*?)<\/ruby>/is';
@@ -1339,7 +1334,6 @@ private static function isRubyCode(string $xml): bool
1339
1334
* @param string $html The HTML content to convert
1340
1335
*
1341
1336
* @return string The well-formed XML
1342
- * @throws Exception If conversion fails
1343
1337
*/
1344
1338
protected static function convertHtmlToXml(string $html): string
1345
0 commit comments