Unescape literal \\n characters to actual newlines for proper display in tags
(value)
| 951 | |
| 952 | |
| 953 | def unescape_content(value): |
| 954 | """Unescape literal \\n characters to actual newlines for proper display in <pre> tags""" |
| 955 | if value is None: |
| 956 | return "" |
| 957 | # Replace literal \n with actual newlines |
| 958 | return value.replace("\\n", "\n") |
| 959 | |
| 960 | |
| 961 | def get_folder_name(path): |
nothing calls this directly
no outgoing calls
no test coverage detected