1.10.0 HTML in dialog title
Hello,
I used to put custom HTML in dialog titles. Used to work in 1.9.x and documentation for 1.10 states "Any valid HTML may be set as the title.". Instead, HTML is rendered as text.
In the following example, the title of the dialog contains the text "<h3>Title</h3>":
Am I doing something wrong?
- <!DOCTYPE html>
- <html>
- <head>
- <link rel="stylesheet" type="text/css" href="http://code.jquery.com/ui/1.10.0/themes/base/jquery-ui.css">
- <script src="http://code.jquery.com/jquery-1.9.0.js"></script>
- <script src="http://code.jquery.com/ui/1.10.0/jquery-ui.js"></script>
- <script>
- $(function() {
- $('#dialog').dialog({title:"<h3>Title</h3>"});
- })
- </script>
- </head>
- <body>
- <div id="dialog"></div>
- </body>
- </html>