0

zk5: If double quotation mark exists in CSS style, style will not properly set

asked 2011-12-02 02:54:51 +0800

lovetide gravatar image lovetide
169 1 7

You can try the following in ZK Sandbox, the CSS behind font-family (included) will not set to this label.

<label value='Test' style='color:#0000CC; font-family:"courier new","times new roman","黑体"; font-size:30px;'/>



The only way can make it work is exchange single quotation mark with double quotation mark:
<label value='Test' style="color:#0000CC; font-family:'courier new','times new roman','黑体'; font-size:30px;"/>



Is this a bug ?

delete flag offensive retag edit

2 Replies

Sort by » oldest newest

answered 2011-12-05 01:05:51 +0800

jimmyshiau gravatar image jimmyshiau
4921 5
http://www.zkoss.org/ ZK Team

Hi lovetide,

It is a encoding bug in server side,
you can post a bug in the following link
http://tracker.zkoss.org/

link publish delete flag offensive edit

answered 2011-12-05 01:43:56 +0800

lovetide gravatar image lovetide
169 1 7

updated 2011-12-05 01:45:14 +0800

Thanks jimmyshiau, bug had been reported here:
http://tracker.zkoss.org/browse/ZK-647

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2011-12-02 02:54:51 +0800

Seen: 374 times

Last updated: Dec 05 '11

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More