12 lines
219 B
Python
12 lines
219 B
Python
# encoding: utf-8
|
|
'''
|
|
@author: 温进
|
|
@file: postprocess.py
|
|
@time: 2023/11/9 下午4:01
|
|
@desc:
|
|
'''
|
|
|
|
def replace_lt_gt(text: str):
|
|
text = text.replace('<', '<')
|
|
text = text.replace('>', '>')
|
|
return text |