themaCreator http://creator.themasoftware.com/forum/ |
|
Line break issues with .txt file text. http://creator.themasoftware.com/forum/viewtopic.php?f=4&t=7443 |
Page 1 of 1 |
Author: | Pablo01 [ May 15th, 2023, 6:26 pm ] |
Post subject: | Line break issues with .txt file text. |
Hi, I have a strange issue I cant find the error - it may not even be TC but wanted to ask here. I have this code in my template that matches my wordpress blog - but for some reason I always end up with the [/info] part moved to the line below - and this makes it NOT work on my blog. I can manually move it up in the final post - then it works - but that is tedious in 1000´s of posts. Works: Code: <!-- wp:shortcode -->[info] text here[/info]<!-- /wp:shortcode --> Not working - this is how final post in TC looks like: Code: <!-- wp:shortcode -->[info] text here
[/info]<!-- /wp:shortcode --> |
Author: | Freddy [ May 15th, 2023, 7:18 pm ] |
Post subject: | Re: Line break issues |
Might be some bad replacement. Do this: "Help" menu (at the top) -> "Support" -> "Compress" -> send me the file which it opens (via PM on any file host) Will review your settings. Edti: You are using "{#txtText#}" tag there. Your .txt file probably has a new line at the end. I have improved for next update to trim the text from .txt file and remove all ending new lines. |
Page 1 of 1 | All times are UTC |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |