Print Page | Close Window

Markup Text - characters to escape?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=14424
Printed Date: 22 June 2025 at 2:47pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Markup Text - characters to escape?
Posted By: zitz
Subject: Markup Text - characters to escape?
Date Posted: 01 June 2009 at 12:18am
I use Xtreme ToolkitPro v13.0.0.

CString sTitle;
sTitle.Format( _T("<TextBlock Foreground='Gray'>%s</TextBlock>"), m_sValue )

What characters need to escape in m_sValue (and how)?



Replies:
Posted By: Oleg
Date Posted: 01 June 2009 at 8:05am
Hi,
replace all < > to &lt, &gt.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: zitz
Date Posted: 01 June 2009 at 11:33am
Thank you, Oleg. But it seems that this is not all :(
For example i add text:
https://mail.google.com/mail/h/c72rp0t8js5k/?v=c&th=1218cc491df8acfd

-------------
Xtreme ToolkitPro v13.1.0, static, VC++6


Posted By: zitz
Date Posted: 01 June 2009 at 11:47pm
In this case need replace all '&' to '&amp;'
What else? are there more?

-------------
Xtreme ToolkitPro v13.1.0, static, VC++6



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net