1
Vote

Smart tags don't appear when line has unclosed quote

description

For example:
    return template('''Text

More text''', data)
Because the string is not closed on the line containing template, no smart tag is offered. This also applies to unclosed single quoted strings, but since those are syntax errors it is less important.

If the string is closed on the same line, the smart tag is available.

comments