Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.

Broken HTML text

 
Post new topic   Reply to topic    Smarty Forum Index -> General
View previous topic :: View next topic  
Author Message
mikasz
Smarty n00b


Joined: 27 Nov 2018
Posts: 1

PostPosted: Tue Nov 27, 2018 11:22 am    Post subject: Broken HTML text Reply with quote

Hello,

I have a problem with data export. I'm completely unfamiliar with Smarty, however, the circumstances require me to use it.

So, I'm trying to export HTML data using this code
Code:

{strip}
{$Artikel->AttributeAssoc.uberblick_beschreibung};
{/strip}

This is the example:

<table style="margin:0px 35px 0px -10px;font-size:15px;border-spacing:5px 5px;background-color:transparent;border-collapse:separate;font-family:Raleway,Open Sans,Helvetica Neue,Helvetica,Arial,sans-serif;float:left;">
<tr>
<td style="vertical-align:middle;text-align:left;width:120px;min-width:120px;height:30px;margin:5px;padding:5px;color:white;font-family:Raleway,Open Sans,Helvetica Neue,Helvetica,Arial,sans-serif;background-color: #b4b4b4">Marke:</td><td style="text-align:left;word-wrap:break-word;width:175px;min-width:175px;height:30px;margin:5px;padding:5px;font-family:Raleway,Open Sans,Helvetica Neue,Helvetica,Arial,sans-serif;background-color: #fff">Smarty
</td>

The problem is that while exporting this text to an Excel file the text automatically breaks to a different column at ";".

Do you have any idea how to solve it?
Back to top
View user's profile Send private message
AnrDaemon
Administrator


Joined: 03 Dec 2012
Posts: 1407

PostPosted: Wed Nov 28, 2018 2:39 pm    Post subject: Reply with quote

How exactly do you import it to Excel?
Are you importing it as CSV?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Smarty Forum Index -> General All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP