Bloatpad: propertly escape <> in markup

This commit is contained in:
Matthias Clasen 2012-01-23 22:14:28 -05:00
parent 5c10f8ce8c
commit 0363a7a2e3

View File

@ -275,20 +275,20 @@ bloat_pad_startup (GApplication *application)
"<interface>"
" <menu id='app-menu'>"
" <section>"
" <item label='_New Window' action='app.new' accel='<Primary>n'/>"
" <item label='_New Window' action='app.new' accel='&lt;Primary&gt;n'/>"
" </section>"
" <section>"
" <item label='_About Bloatpad' action='app.about'/>"
" </section>"
" <section>"
" <item label='_Quit' action='app.quit' accel='<Primary>q'/>"
" <item label='_Quit' action='app.quit' accel='&lt;Primary&gt;q'/>"
" </section>"
" </menu>"
" <menu id='menubar'>"
" <submenu label='_Edit'>"
" <section>"
" <item label='_Copy' action='win.copy' accel='<Primary>c'/>"
" <item label='_Paste' action='win.paste' accel='<Primary>v'/>"
" <item label='_Copy' action='win.copy' accel='&lt;Primary&gt;c'/>"
" <item label='_Paste' action='win.paste' accel='&lt;Primary&gt;v'/>"
" </section>"
" </submenu>"
" <submenu label='_View'>"