How to escape HTML formatting?

60 views
Skip to first unread message

Random Joe

unread,
Nov 22, 2013, 3:54:59 AM11/22/13
to mnemosyne-...@googlegroups.com
I want to review some HTML elements and I have this snippet as my answer:

<video controls autoplay width="512" height="288" src="video/tweetsip.mp4">
</video>"

<video controls autoplay width="512" height="288" >
<source src="video/video.mp4" type='video/mp4; codecs="avc1.42E01E, mp4a.40.2"'>
<source src="video/video.webm" type='video/webm; codecs="vp8, vorbis"'>
<source src="video/video.ogv" type='video/ogg; codecs="theora, vorbis"'>
<object>...</object>
<p>Sorry, your browser doesn't support the video element</p>
</video>

But mnemosyne interprets the HTML.

Gnome

unread,
Nov 22, 2013, 1:38:17 PM11/22/13
to mnemosyne-...@googlegroups.com, gits...@gmail.com
So you onlt want to disply the html?
You can try:
<textarea style="width:100%;height:300">
</textarea>

Please note that in the 2.3 pre version scr="something" will be changed to scr="the full path to your database media folder/something"
I'm not sure if there is a workaround for that.

Gnome

unread,
Nov 22, 2013, 1:44:36 PM11/22/13
to mnemosyne-...@googlegroups.com, gits...@gmail.com
Hi, you may of course also use &lt; instead of < and so on:
&lt;video controls autoplay width=&quot;512&quot; height=&quot;288&quot; src=&quot;video/tweetsip.mp4&quot;&gt;

Peter Bienstman

unread,
Nov 22, 2013, 3:42:36 PM11/22/13
to mnemosyne-...@googlegroups.com
Other option is using &lt; instead of <

Cheers,

Peter

Citeren Gnome <jippi...@hotmail.com>:

> So you onlt want to disply the html?
> You can try:
> <textarea style="width:100%;height:300">
> </textarea>
>
> Please note that in the 2.3 pre version scr="something" will be changed to
> scr="the full path to your database media folder/something"
> I'm not sure if there is a workaround for that.
>
> kl. 09:54:59 UTC+1 fredag 22. november 2013 skrev Random Joe f�lgende:
>>
>> I want to review some HTML elements and I have this snippet as my answer:
>>
>> <video controls autoplay width="512" height="288" src="video/tweetsip.mp4">
>> </video>"
>>
>> <video controls autoplay width="512" height="288" >
>> <source src="video/video.mp4" type='video/mp4; codecs="avc1.42E01E,
>> mp4a.40.2"'>
>> <source src="video/video.webm" type='video/webm; codecs="vp8, vorbis"'>
>> <source src="video/video.ogv" type='video/ogg; codecs="theora,
>> vorbis"'>
>> <object>...</object>
>> <p>Sorry, your browser doesn't support the video element</p>
>> </video>
>>
>> But mnemosyne interprets the HTML.
>>
>>
>
> --
> You received this message because you are subscribed to the Google
> Groups "mnemosyne-proj-users" group.
> To unsubscribe from this group and stop receiving emails from it,
> send an email to mnemosyne-proj-u...@googlegroups.com.
> To post to this group, send email to mnemosyne-...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/mnemosyne-proj-users/1c5a6675-7b6a-4965-a7a2-bf999671dd77%40googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.



Reply all
Reply to author
Forward
0 new messages