mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-12-15 19:16:46 +01:00
[outtmpl] Allow \n in replacements and default.
Fixes: https://github.com/yt-dlp/yt-dlp/issues/6808#issuecomment-1510055357 Fixes: https://github.com/yt-dlp/yt-dlp/issues/6808#issuecomment-1510363645
This commit is contained in:
parent
80b732b7a9
commit
78fde6e339
3 changed files with 3 additions and 2 deletions
|
|
@ -822,6 +822,7 @@ class TestYoutubeDL(unittest.TestCase):
|
|||
test('%(title&foo|baz)s.bar', 'baz.bar')
|
||||
test('%(x,id&foo|baz)s.bar', 'foo.bar')
|
||||
test('%(x,title&foo|baz)s.bar', 'baz.bar')
|
||||
test('%(title&\n|)s', '\n')
|
||||
|
||||
# Laziness
|
||||
def gen():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue