Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XHTML error #78

Open
GoogleCodeExporter opened this issue Sep 1, 2015 · 0 comments
Open

XHTML error #78

GoogleCodeExporter opened this issue Sep 1, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Rename demo.html demo.xhtml
2. In the dialog, click the insert images icon
3. Use the French locale file. Rinse and repeat.

What is the expected output? What do you see instead?

Expected to see image dialogue. Saw a greyed out page. Page was unresponsive 
until reloaded.

What version of the product are you using? On what operating system?

Accessed from https://code.google.com/p/pagedown/ August 14, 2014 on Ubuntu 
Linux 14.04

Please provide any additional information below.

The following two files need to be changed to support xhtml: Markdown.Editor.js 
and Markdown.local.fr.js

############## Diff for Markdown.Editor.js : ############## 

37c37
<         image: "Image <img> Ctrl+G",

---
>         image: "Image <img /> Ctrl+G",
39c39
<         imagedialog: "<p><b>Insert 
Image</b></p><p>http://example.com/images/diagram.jpg \"optional 
title\"<br><br>Need <a href='http://www.google.com/search?q=free+image+hosting' 
target='_blank'>free image hosting?</a></p>",

---
>         imagedialog: "<p><b>Insert 
Image</b></p><p>http://example.com/images/diagram.jpg \"optional title\"<br 
/><br />Need <a href='http://www.google.com/search?q=free+image+hosting' 
target='_blank'>free image hosting?</a></p>",
48c48
<         hr: "Horizontal Rule <hr> Ctrl+R",

---
>         hr: "Horizontal Rule <hr /> Ctrl+R",
2239c2239
< })();
\ No newline at end of file

---
> })();

############## Diff for Markdown.local.fr.js ############## 

16c16
<         linkdialog: "<p><b>Insérer un 
hyperlien</b></p><p>http://example.com/ \"titre optionnel\"</p>",

---
>         linkdialog: "<p><b>Insérer un 
hyperlien</b></p><p>https://exemple.com/ \"titre optionnel\"</p>",
26c26
<         imagedialog: "<p><b>Insérer une 
image</b></p><p>http://example.com/images/diagram.jpg \"titre 
optionnel\"<br><br><a href='http://www.google.com/search?q=free+image+hosting' 
target='_blank'>Vous chercher un hébergement d'image grauit ?</a></p>",

---
>         imagedialog: "<p><b>Insérer une 
image</b></p><p>https://exemple.com/exemple.png \"titre optionnel\"<br /><br 
/><a href='https://www.google.com/search?q=hébergeur+images+gratuit' 
target='_blank'>Cherchez-vous un hébergeur d'images gratuit ?</a></p>",
29c29
<         ulist: "Liste à point <ul> Ctrl+U",

---
>         ulist: "Liste à puce <ul> Ctrl+U",
41c41
<         help: "Aide sur Markdown"

---
>         help: "Apropos Markdown ..."
43c43
< })();
\ No newline at end of file

---
> })();

Original issue reported on code.google.com by jim.holgate on 14 Aug 2014 at 9:54

Attachments:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant