MCPcopy Index your code
hub / github.com/pyfa-org/Pyfa / stripHtml

Function stripHtml

gui/builtinViews/implantEditor.py:15–18  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

13
14
15def stripHtml(text):
16 text = re.sub(r'<\s*br\s*/?\s*>', '\n', text)
17 text = re.sub(r'</?[^/]+?(/\s*)?>', '', text)
18 return text
19
20
21class BaseImplantEditorView(wx.Panel):

Callers 3

OnLeftTreeMouseMoveMethod · 0.85
OnRightListMouseMoveMethod · 0.85
OnMouseMoveMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected