escaping smart quotes along with backslash literal inside

15 views
Skip to first unread message

madjxatw

unread,
Apr 16, 2019, 10:54:38 AM4/16/19
to sphinx-users
I would like to get '\' (a backslash within a pair of apostrophes) in html output. I tried to escape ASCII single quotes and backslash with
\\'\\\\'
 in rst source but got '\’, where the ending single quote didn't get escaped. Please advice how to sort it out?

Komiya Takeshi

unread,
May 13, 2019, 12:38:15 PM5/13/19
to sphinx...@googlegroups.com
Hi,

On my local, followings working fine to me.
```
\\'\\\\\\'
```

Thanks,
Takeshi KOMIYA

2019年4月16日(火) 23:54 madjxatw <madj...@gmail.com>:
>
> I would like to get '\' (a backslash within a pair of apostrophes) in html output. I tried to escape ASCII single quotes and backslash with
> \\'\\\\'
> in rst source but got '\’, where the ending single quote didn't get escaped. Please advice how to sort it out?
>
> --
> You received this message because you are subscribed to the Google Groups "sphinx-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to sphinx-users...@googlegroups.com.
> To post to this group, send email to sphinx...@googlegroups.com.
> Visit this group at https://groups.google.com/group/sphinx-users.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages