ARBLE, 2222 16 bytes
list"list%q|n%%n"|n%n(f%f)"(f%%f)%q"
A twist onEssentially the normal Lualua quine of s="s=%qprint(s:format(s))"print(s:format(s))
taking advantage of ARBLE's extensions.
Creates a list containing only
Takes the function "list%q|n%%n"f%f
, (which acts as f:format(f)
) and then maps overcalls it with the functionformat string n=>n%n"(f%%f)%q
, which formatswhere %q
escapes the string with itself, then it's implicitly outputprovided argument.