Need help with News ticker

Hi,
I'd like to use this news ticker code
http://risq.github.io/jquery-advanced-news-ticker/
Check the second example called: ONE LINE TICKER WITH CALLBACKS & METHODS EXAMPLE

This going to display news data (text only) from the database MySql

The problem I'm having is that the data will contain html code and special caracters.
When the text is placed into  data-infos=" " 
This don't render html code

When the data appear into the <div class="infos-text"> area there is no problem
Only the first item use this

So I'm looking so a solution
Any clue?
LVL 31
lenamtlAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Rainer JeschorCommented:
Hi,
this should work.
Just change the line from
	$('#nt-example2-infos .infos-text').text($('#nt-example2 li:first').data('infos'));

Open in new window

to
	$('#nt-example2-infos .infos-text').html($('#nt-example2 li:first').data('infos'));

Open in new window

Instead of setting the text, set the HTML.

Live sample:
http://plnkr.co/edit/0AtP9MuXAhZFgOouC1Qe

HTH
Rainer

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
lenamtlAuthor Commented:
Thanks a lot
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
jQuery

From novice to tech pro — start learning today.