File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/docusaurus-plugin-openapi-docs/src/markdown Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ export function render(children: Children): string {
43
43
44
44
// Regex to selectively URL-encode '>' and '<' chars
45
45
export const lessThan =
46
- / < (? ! ( = | b u t t o n | \s ? \/ b u t t o n | d e t a i l s | \s ? \/ d e t a i l s | s u m m a r y | \s ? \/ s u m m a r y | h r | \s ? \/ h r | b r | \s ? \/ b r | s p a n | \s ? \/ s p a n | s t r o n g | \s ? \/ s t r o n g | s m a l l | \s ? \/ s m a l l | t a b l e | \s ? \/ t a b l e | t d | \s ? \/ t d | t r | \s ? \/ t r | t h | \s ? \/ t h | h 1 | \s ? \/ h 1 | h 2 | \s ? \/ h 2 | h 3 | \s ? \/ h 3 | h 4 | \s ? \/ h 4 | h 5 | \s ? \/ h 5 | h 6 | \s ? \/ h 6 | t i t l e | \s ? \/ t i t l e | p | \s ? \/ p | e m | \s ? \/ e m | b | \s ? \/ b | i | \s ? \/ i | u | \s ? \/ u | s t r i k e | \s ? \/ s t r i k e | a | \s ? \/ a | l i | \s ? \/ l i | o l | \s ? \/ o l | u l | \s ? \/ u l | i m g | \s ? \/ i m g | d i v | \s ? \/ d i v | c e n t e r | \s ? \/ c e n t e r ) ) / gu;
46
+ / < (? ! ( = | b u t t o n | \s ? \/ b u t t o n | c o d e | \s ? \/ c o d e | d e t a i l s | \s ? \/ d e t a i l s | s u m m a r y | \s ? \/ s u m m a r y | h r | \s ? \/ h r | b r | \s ? \/ b r | s p a n | \s ? \/ s p a n | s t r o n g | \s ? \/ s t r o n g | s m a l l | \s ? \/ s m a l l | t a b l e | \s ? \/ t a b l e | t h e a d | \s ? \/ t h e a d | t b o d y | \s ? \/ t b o d y | t d | \s ? \/ t d | t r | \s ? \/ t r | t h | \s ? \/ t h | h 1 | \s ? \/ h 1 | h 2 | \s ? \/ h 2 | h 3 | \s ? \/ h 3 | h 4 | \s ? \/ h 4 | h 5 | \s ? \/ h 5 | h 6 | \s ? \/ h 6 | t i t l e | \s ? \/ t i t l e | p | \s ? \/ p | e m | \s ? \/ e m | b | \s ? \/ b | i | \s ? \/ i | u | \s ? \/ u | s t r i k e | \s ? \/ s t r i k e | b o l d | \s ? \/ b o l d | a | \s ? \/ a | t a b l e | \s ? \/ t a b l e | l i | \s ? \/ l i | o l | \s ? \/ o l | u l | \s ? \/ u l | i m g | \s ? \/ i m g | s v g | \s ? \/ s v g | d i v | \s ? \/ d i v | c e n t e r | \s ? \/ c e n t e r ) ) / gu;
47
47
export const greaterThan =
48
- / (?< ! ( b u t t o n | c o d e | d e t a i l s | s u m m a r y | h r | b r | s p a n | s t r o n g | s m a l l | t a b l e | t h e a d | t b o d y | t d | t r | t h | h 1 | h 2 | h 3 | h 4 | h 5 | h 6 | t i t l e | p | e m | b | i | u | s t r i k e | a | t a g | l i | o l | u l | i m g | d i v | c e n t e r | \/ | \s | " | ' ) ) > / gu;
48
+ / (?< ! ( b u t t o n | c o d e | d e t a i l s | s u m m a r y | h r | b r | s p a n | s t r o n g | s m a l l | t a b l e | t h e a d | t b o d y | t d | t r | t h | h 1 | h 2 | h 3 | h 4 | h 5 | h 6 | t i t l e | p | e m | b | i | u | s t r i k e | b o l d | a | l i | o l | u l | i m g | s v g | d i v | c e n t e r | \/ | \s | " | ' ) ) > / gu;
49
49
export const codeFence = / ` { 1 , 3 } [ \s \S ] * ?` { 1 , 3 } / g;
You can’t perform that action at this time.
0 commit comments