summaryrefslogtreecommitdiff
path: root/pandoc-emphasis
diff options
context:
space:
mode:
Diffstat (limited to 'pandoc-emphasis')
-rwxr-xr-xpandoc-emphasis5
1 files changed, 3 insertions, 2 deletions
diff --git a/pandoc-emphasis b/pandoc-emphasis
index 60c42d8..9adb6e5 100755
--- a/pandoc-emphasis
+++ b/pandoc-emphasis
@@ -94,10 +94,11 @@ sub emphasis {
when ( $self->content->[0]->name eq 'Quoted' ) {
$log->infof( 'emphasis: Emph+Quoted→foreign: %s',
$_ );
- # FIXME: LaTeX-encode text
+ # FIXME: LaTeX-encode content
return $window->interpret_view(
RawInline( 'latex',
- '\\foreign{' . $_ . '}' ));
+ sprintf( '\foreign{%s}',
+ $_ )));
}
}
return $window->describe_view();