XHTML error
- Linguagem predominante
- JavaScript
- Estrelas
- 0
- Forks
- 0
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
```
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)
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Direção de pesquisa
A issue fornece diffs exatos para Markdown.Editor.js e Markdown.local.fr.js. Comece localizando esses arquivos no repositório. As alterações envolvem atualizar as tags HTML para que estejam em conformidade com XHTML (adicionando barras de fechamento) e corrigir as strings da localidade francesa. Teste renomeando demo.html para demo.xhtml e usando a localidade francesa para garantir que o diálogo de imagem seja exibido corretamente. Verifique se as alterações não quebram a funcionalidade existente.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- html
- Domínio
- frontend, internationalization
- Tipo de issue
- Bug
- Dificuldade
- 2/5
- Tempo estimado
- 1-3 horas
- Status de atividade
- Estagnada
- Clareza
- Claramente especificada
- Facilidade para iniciantes
- 75/100