It is currently April 18th, 2024, 10:33 pm



Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Line break issues with .txt file text.
PostPosted: May 15th, 2023, 6:26 pm 

Joined: November 23rd, 2014, 6:31 am
Posts: 276
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 -->


Top
 Profile  
Reply with quote  
 Post subject: Re: Line break issues
PostPosted: May 15th, 2023, 7:18 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12640
Location: Earth
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.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 18 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Theme designed by stylerbb.net © 2008
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All times are UTC