File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 1919 "gitonomy/gitlib" : " ^1.2" ,
2020 "cebe/markdown" : " ^1.2" ,
2121 "voku/simple_html_dom" : " ^4.7" ,
22- "html2text /html2text" : " ^4.3 "
22+ "soundasleep /html2text" : " ^2.0 "
2323 },
2424 "autoload" : {
2525 "psr-4" : {"PHPFUI\\ InstaDoc\\ " : " src/PHPFUI/InstaDoc/" }
Original file line number Diff line number Diff line change @@ -487,9 +487,8 @@ public function getConstructorParameters(string $className) : string
487487 $ method = $ reflection ->getMethod ($ methodName );
488488 $ section = new \PHPFUI \InstaDoc \Section \CodeCommon ($ this , $ className );
489489 $ parameters = $ section ->getMethodParameters ($ method );
490- $ html2Text = new \Html2Text \Html2Text ($ parameters , ['do_links ' => 'none ' ]);
491490
492- return $ html2Text -> getText ( );
491+ return \ Soundasleep \Html2Text:: convert ( $ parameters , [ ' drop_links ' => true , ' ignore_errors ' => true ] );
493492 }
494493
495494 /**
You can’t perform that action at this time.
0 commit comments