[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Feedback on 0.3 Format




--- Sam Ruby <rubys@xxxxxxxxxxxxxxxx> wrote:
> 
> 1: I &lt;3 NY
> 2: I &amp;lt;3 NY
> 3: I <strong>&lt;3</strong> NY
> 4: I &lt;strong&gt;&amp;lt;3&lt;/strong&gt; NY
> 
> 
> 1: mode="xml" type="text/plain"
> 2: mode="escaped" type="text/plain"
> 3: mode="xml" type="text/html"
> 4: mode="escaped" type="text/html"

Your option 2 seems incorrect. I translate mode="xml"
to be the equivalent of calling InnerXml on the
XmlNode object that contains the above content and
mode="escaped" the equivalent of calling InnerText on
said object. Using that reasoning your option 2
renders as "I &lt;3 NY" which is probably not what the
user expected. 


=====
THINGS TO DO IF I BECOME AN EVIL OVERLORD #95
My dungeon will have its own qualified medical staff complete with bodyguards. That way if a prisoner becomes sick and his cellmate tells the guard it's an emergency, the guard will fetch a trauma team instead of opening up the cell for a look.

__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/