eg2av
November 8, 2019, 10:08am
1
I have a problem when writing more than one link in kirbytext. The first link is always not rendered properly.
Text file looks like this:
(link: http://freies-radio-wiesental.de/ text:Zur Website des Freien Radio Wiesental)
(link: http://freies-radio-wiesental.de/ text:Zur Website des Freien Radio Wiesental)
The rendered output then looks like this:
(link: http://freies-radio-wiesental.de/ text:Zur Website des Freien Radio Wiesental)
Zur Website des Freien Radio Wiesental
It doesn’t matter if 2 or 20 links, the first one is always wrong.
eg2av
November 8, 2019, 10:14am
2
I do know, that I could use markdown in that case, but I don’t want my customers to have to use that too.
texnixe
November 8, 2019, 10:19am
3
Hm, what version of Kirby are you using? I can’t reproduce this in a 3.3.0 Starterkit.
What code do you use in the template to output the content of the field? And what is the field type you use?
Do you use any plugins?
Welcome to the forum!
eg2av
November 8, 2019, 10:22am
4
I am using the recently downloaded plainkit (version 3.2.5) without any plugins. Just typing everything in one text field right now. <?= $page->text()->kt() ?>
eg2av
November 8, 2019, 10:24am
5
And thank you for your quick answer!
texnixe
November 8, 2019, 10:32am
6
The newest version is 3.3.0, btw. But as far as I’m aware there were no changes to the link tag.
Could you provide the content file for testing?
eg2av
November 8, 2019, 10:37am
7
Sure, do you mean the txt file or the whole content-folder?
texnixe
November 8, 2019, 10:39am
8
Either the text file or maybe even better the content folder or the complete project…
eg2av
November 8, 2019, 11:01am
9
I can’t upload anything else than images
texnixe
November 8, 2019, 11:05am
10
You could upload a zip to Dropbox or WeTransfer or whatever and PM me a link, here you can’t do that, that’s right.
texnixe
November 8, 2019, 11:23am
12
The problem is an unclosed parenthesis in the line before the first link:
** Sendetermine **
Jeden 1. Dienstag im Monat, 15 – 16 Uhr (Wiederholungen: dienstags 15 - 16 Uhr, sonntags 8 - 9 Uhr auf FREIES RADIO WIESENTAL, UKW 104,5 MHz/Kabel 89,35 MHz
eg2av
November 8, 2019, 11:29am
13
Well that’s an embarrassing start on this forum… Thanks for your kind help!
texnixe
November 8, 2019, 11:31am
14
Don’t worry! Happens to the best of us .
1 Like