Links to documentation not converted until post edited

4 years ago

petr.pavel
Backer | 492
+
0
-

When I post a link to [[ documentation | doc:something ]], it doesn't get converted to https://doc.nette.org/….4/something until I edit the post.

When I posted this https://forum.nette.org/…tte-database#… the link to database/selection documentation page
[[ filtrování | doc:selection#somehash ]]
changed to https://doc.nette.org/…se-selection only after I edited the post.

Also, the hash tag got lost during the process.

EDIT: Now that's funny. This post got the links converted immediately. Could Czech forum be different in this regard?

Last edited by petr.pavel (2014-10-10 11:47)

4 years ago

petr.pavel
Backer | 492
+
0
-

This is a test

4 years ago

petr.pavel
Backer | 492
+
0
-

Okay, the bug shows when I type [[is a test |doc:something]].
The resulting link will be (as in the post above) doc:cs:something instead of expected https://doc.nette.org/cs/something.

Then edit the post and add something in front of the link
this [[is a test |doc:something]]
Send it and you'll see that the link has changed to http://....

EDIT: This procedure works, I verified it.

Last edited by petr.pavel (2014-10-10 12:19)

4 years ago

David Grudl
Nette Core | 6770
+
0
-

To vypadá na chybu v PCRE na serveru, kde běží fórum.

4 years ago

Milo
Nette Core | 1049
+
0
-

@DavidGrudl Všechny Texy testy prochází (v2.6, v2.x, master). Nějaký hint, po čem se podívat?

4 years ago

David Grudl
Nette Core | 6770
+
0
-

Našel jsem rozdíl mezi parsováním UTF mezi svým počítačem a VPS, jen ještě nevím, který stroj to dělá správně :-) Každopádně tohle s tím souvislost nemá…

@petr.pavel použil jsi preview? Pokud to bylo tím, tak snad opraveno.

4 years ago

hrach
Member | 1799
+
+1
-

@DavidGrudl sorry, but it's quite impolite to write in czech in en forum.

4 years ago

David Grudl
Nette Core | 6770
+
0
-

@hrach spletl jsem se, se stane.

4 years ago

petr.pavel
Backer | 492
+
0
-

@DavidGrudl: The procedure I described above doesn't mention a preview so I suppose I didn't use it.

I see that the procedure no longer works, the link in my previous post was converted immediately.
Does it mean that you fixed it, or that my procedure doesn't work 100% times?

4 years ago

David Grudl
Nette Core | 6770
+
0
-

I hope I fixed it. I.e. I found and fixed bug in preview routing.