Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2010-02-03 13:53:39
- alice_c
- Plugin Author
- From: Karlsruhe, Germany
- Registered: 2004-07-03
- Posts: 33
[textile] Russian Hyperlinks
Hello,
I have a problem with my german customer, who wanted to publish in his german page a russian article with link to russian wikipedia like this:
"марксизму":http://ru.wikipedia.org/wiki/МарксизмBut this doesn’t work, it always generates links like this:
<a href=“http://ru.wikipedia.org/wiki/”>марксизму</a>Марксизм.
Can someone help, please? Bug or feature?
Beate
Offline
Re: [textile] Russian Hyperlinks
Problematic, bit both. Only letters, numbers and few symbols are allowed in uris according specs. Encode chars, or use HTML to create invalid links.
For example:
"марксизму":http://ru.wikipedia.org/wiki/%D0%BC%D0%B0%D1%80%D0%BA%D1%81%D0%B8%D0%B7%D0%BC%D1%83
Works just fine. Tho, Textile doesn’t encode chars, it just spits out everything that it doesn’t like. Making it both ish.
If those links are copied straight from wikipedia, then you can just copy encoded addresses from there because wikipedia uses valid encoding (excluding spaces).
Last edited by Gocom (2010-02-03 16:36:02)
Offline
#3 2010-02-03 18:00:53
- alice_c
- Plugin Author
- From: Karlsruhe, Germany
- Registered: 2004-07-03
- Posts: 33
Re: [textile] Russian Hyperlinks
Gocom schrieb:
If those links are copied straight from wikipedia, then you can just copy encoded addresses from there because wikipedia uses valid encoding (excluding spaces).
Not really. Both Safari and Firefox on Mac don’t encode the urls. But i converted the textile links to html now, with even more problems with textile…
славист <a href="http://ru.wikipedia.org/wiki/Казак,_Вольфганг">Вольфганг Казак</a> even more
text _and some in italic_ this doesn't work very well.
This also didn’t work with the italic text. I had to put in in <i>...</i>
.
Offline
Offline
Pages: 1