(name: str)
| 56 | |
| 57 | |
| 58 | def _escape_css_attr(name: str) -> str: |
| 59 | # CSS attribute selectors must escape ':' (e.g. ifc:guid -> ifc\:guid) |
| 60 | return name.replace(":", "\\:") |
| 61 | |
| 62 | |
| 63 | def _highlight_css_from_ids(model: ifcopenshell.file, element_ids: list[int]) -> str: |
no outgoing calls
no test coverage detected