6174 / 6174/pagedown

XHTML error

Ouverte
#78 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
auto-migrated Priority-Medium Type-Defect
Langage dominant
JavaScript
Étoiles
0
Forks
0
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

```
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 Ctrl+G",

---
> image: "Image Ctrl+G",
39c39
< imagedialog: "

Insert
Image

http://example.com/images/diagram.jpg \"optional
title\"

Need free image hosting?

",

---
> imagedialog: "

Insert
Image

http://example.com/images/diagram.jpg \"optional title\"

Need free image hosting?

",
48c48
< hr: "Horizontal Rule
Ctrl+R",

---
> hr: "Horizontal Rule


Ctrl+R",
2239c2239
< })();
\ No newline at end of file

---
> })();

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

16c16
< linkdialog: "

Insérer un
hyperlien

http://example.com/ \"titre optionnel\"

",

---
> linkdialog: "

Insérer un
hyperlien

https://exemple.com/ \"titre optionnel\"

",
26c26
< imagedialog: "

Insérer une
image

http://example.com/images/diagram.jpg \"titre
optionnel\"

Vous chercher un hébergement d'image grauit ?

",

---
> imagedialog: "

Insérer une
image

https://exemple.com/exemple.png \"titre optionnel\"

Cherchez-vous un hébergeur d'images gratuit ?

",
29c29
< ulist: "Liste à point
    Ctrl+U",

    ---
    > ulist: "Liste à puce

      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:
      - [PageDown diffs for xhtml & French corrections.zip](https://storage.googleapis.com/google-code-attachments/pagedown/issue-78/comment-0/PageDown diffs for xhtml & French corrections.zip)

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.