problems with ">" and "<"

26 views
Skip to first unread message

martin h

unread,
May 24, 2016, 1:30:11 PM5/24/16
to mnemosyne-proj-users
Hello, I use mnemosyne to practice programming questions. Resently I created several questions containing ">" and "<". For example "Function<T>". What I see in this case in the question is "Function". How comes this? How can I use these symbols in my cards? Is it a bug or a feature. Thank you very much for your help!

Gwern Branwen

unread,
May 24, 2016, 1:34:06 PM5/24/16
to Mnemosyne mailing list
On Tue, May 24, 2016 at 11:13 AM, 'martin h' via mnemosyne-proj-users
<mnemosyne-...@googlegroups.com> wrote:
> Resently I created several questions containing ">" and "<". For example "Function<T>". What I see in this case in the question is "Function". How comes this? How can I use these symbols in my cards? Is it a bug or a feature.

Mnemosyne cards are HTML. So '<t>' is interpreted as a HTML tag <t>,
which is not any tag I know and so probably just gets dropped. You
would have to escape them as '&lt;' or '&gt;'.

--
gwern
http://www.gwern.net

m.henn...@googlemail.com

unread,
May 24, 2016, 3:09:25 PM5/24/16
to mnemosyne-proj-users, gw...@gwern.net
OK, thanks a lot, that sounds reasonable. I guess there is no way to switch off html and use plain text?
Reply all
Reply to author
Forward
0 new messages