My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 100: gddContentItemFlagHtml content Item flag's doesn't format html snippet text in notification
2 people starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----


 
Reported by thierry....@gmail.com, May 8, 2009
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?

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


Powered by Google Project Hosting