mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-05 16:36:56 +07:00
It's not enough to just prepend an arbitrary string with "f" to treat it like a well-formed f-string. If its part following "IntellijIdeaRulezzz " placeholder contains special characters, such as "&" in URLs, it can break parsing of a generated fragment to the extent we are no longer able to recover a string literal from it (it all gets treated as a single embedded expression). Forcibly closing a started fragment with "} " seems sufficient to guard against the subsequent string content. GitOrigin-RevId: fe682511475b800f013ace5e6e52fca9286cd418
2 lines
107 B
Python
2 lines
107 B
Python
city = "spb"
|
|
foo = "https://weather.talkpython.fm/api/weather?city={<caret>&state=&country=&units=imperial" |