if fit name contained "<" or ">" then reprace to named html entity by EVE client. :param text_: string content of fit name from exported by EVE client. :return: if text_ is not instance of basestring then no manipulation to text_.
(text_)
| 22 | |
| 23 | |
| 24 | def replace_ltgt(text_): |
| 25 | # type: (basestring) -> basestring |
| 26 | """if fit name contained "<" or ">" then reprace to named html entity by EVE client. |
| 27 | :param text_: string content of fit name from exported by EVE client. |
| 28 | :return: if text_ is not instance of basestring then no manipulation to text_. |
| 29 | """ |
| 30 | return text_.replace("<", "<").replace(">", ">") if isinstance(text_, str) else text_ |
no test coverage detected