aboutsummaryrefslogtreecommitdiffstats
path: root/gurpmi.addmedia
diff options
context:
space:
mode:
Diffstat (limited to 'gurpmi.addmedia')
-rwxr-xr-xgurpmi.addmedia3
1 files changed, 2 insertions, 1 deletions
diff --git a/gurpmi.addmedia b/gurpmi.addmedia
index 23c39230..9358e2e4 100755
--- a/gurpmi.addmedia
+++ b/gurpmi.addmedia
@@ -94,7 +94,8 @@ while (@ARGV) {
($name, $url) = ('', $name);
} elsif ($url !~ m,^(([^:]*):/)?/,) {
interactive_msg('gurpmi.addmedia',
- N("bad <url> (for local directory, the path must be absolute)") . "\n\n$url");
+ escape_text_for_TextView_markup_format(
+ N("bad <url> (for local directory, the path must be absolute)") . "\n\n$url"));
myexit(-1);
}
push @addmedia_args, [ $name, $url ];