aachyee / google-desktop-sdk

Automatically exported from code.google.com/p/google-desktop-sdk
0 stars 0 forks source link

gddContentItemFlagHtml content Item flag's doesn't format html snippet text in notification #100

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Use this code to create a new notification :
var item = new ContentItem();
item.heading = "Heading!";
item.flags = gddContentItemFlagHtml;
item.snippet = "Multiline<br />snippet";
pluginHelper.AddContentItem(item, gddItemDisplayAsNotification);

What is the expected output? What do you see instead?
The notification window should show two lines in the middle but shows the
snippet as is.

What version of the product are you using? On what operating system?
I'm using Google Desktop 5.8.0809.23506-fr-pb on WinXP

Please provide any additional information below.

By reading the documentation, it is said that gddContentItemFlagHtml will
be interpreted and implicitly sets the gddContentItemFlagDisplayAsIs flag
which says that HTML code will be displayed as is. What should I understand
of those informations?

http://code.google.com/apis/desktop/docs/gadget_apiref.html#gddContentItemFlag

Original issue reported on code.google.com by thierry....@gmail.com on 8 May 2009 at 9:42