(a: Token | None, b: Token | None, c: Token | None)
| 141 | |
| 142 | |
| 143 | def is_inline_text(a: Token | None, b: Token | None, c: Token | None) -> bool: |
| 144 | if isinstance(a, Tag) and isinstance(b, Text) and isinstance(c, Tag): |
| 145 | if a.is_opening and "\n" not in b.data and c.is_closing and a.tag == c.tag: |
| 146 | return True |
| 147 | return False |
| 148 | |
| 149 | |
| 150 | def is_inline( |
no outgoing calls
no test coverage detected
searching dependent graphs…