- Status changed to Needs work
over 1 year ago 3:03pm 19 January 2023 - Status changed to Needs review
over 1 year ago 9:01am 20 January 2023 - Status changed to RTBC
over 1 year ago 8:12am 21 January 2023 - πΊπΈUnited States ultimike Florida, USA
@miimooo - isn't your new
testTruncateWordsWithHtmlCorrector()
the same things astestTruncateWords()
?I think your idea of adding
'#text' => Html::normalize($output),
is probably worthy, but let's proceed in a methodical way:- Find and add data to
truncateCharsDataProvider()
that breaks the current non-Html::normalize($output)
version of the module. This will demonstrate a failing test. - Then, add the
Html::normalize($output)
bit to demonstrate that it gets the test to pass. - Finally, submit a patch with both changes (the
Html::normalize($output)
bit and the new data in the provider).
Make sense?
@Anybody - I have enabled testing - thanks for the nudge.
-mike
- Find and add data to
- Status changed to Needs work
about 1 year ago 10:54am 30 March 2023