File size: 177 Bytes
7a664fd
 
 
 
 
 
 
1
2
3
4
5
6
7
def sanitize_jinja2(jinja_lines):
    
    one_liner_jinja = ""
    for line in jinja_lines:
        one_liner_jinja += line.lstrip(" ").rstrip("\n")

    return one_liner_jinja