1.10.0 HTML in dialog title

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?

  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <link rel="stylesheet" type="text/css" href="http://code.jquery.com/ui/1.10.0/themes/base/jquery-ui.css">
  5. <script src="http://code.jquery.com/jquery-1.9.0.js"></script>
  6. <script src="http://code.jquery.com/ui/1.10.0/jquery-ui.js"></script>
  7. <script>
  8. $(function() {
  9. $('#dialog').dialog({title:"<h3>Title</h3>"});
  10. })
  11. </script>
  12. </head>
  13. <body>
  14. <div id="dialog"></div>
  15. </body>
  16. </html>