More text''', data)
Because the string is not closed on the line containing
, 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.