File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -152,7 +152,9 @@ export const Dropdown = ({
152152 </ div >
153153 < button
154154 onClick = { ( ) => handleOptionClick ( option ) }
155- ref = { ( el ) => ( optionRefs . current [ index ] = el as HTMLButtonElement ) }
155+ ref = { ( el ) => {
156+ optionRefs . current [ index ] = el as HTMLButtonElement ;
157+ } }
156158 onBlur = { handleBlur }
157159 >
158160 < span > { option . label } </ span >
Original file line number Diff line number Diff line change @@ -230,7 +230,9 @@ export const getRefEntryTitleConcatWithParen = (
230230 */
231231export const escapeCodeTagsContent = ( htmlString : string ) : string => {
232232 // Load the HTML string into Cheerio
233- const $ = load ( htmlString ) ;
233+ const $ = load ( htmlString , {
234+ xmlMode : true
235+ } ) ;
234236 // Loop through all <code> tags
235237 $ ( "code" ) . each ( function ( ) {
236238 // Don't escape code in multiline blocks, as these will already
You can’t perform that action at this time.
0 commit comments