summaryrefslogtreecommitdiff
path: root/src/form.hh
diff options
context:
space:
mode:
authorcorvid <corvid@lavabit.com>2012-12-15 05:21:50 +0000
committercorvid <corvid@lavabit.com>2012-12-15 05:21:50 +0000
commit4071f894114fab5b4087de3ddfaa32fef441f9cf (patch)
tree93115eda06b9f2167284786cd069e8ab9f979f9b /src/form.hh
parent565f21fba29f87c843c0e3d06b22879755de8bf9 (diff)
finish option as soon as we see the close tag
I was just looking at distrowatch, and noticed that a menu looked odd. It turns out that their code goes like Amarok Live<option value="amaroklive">Amarok Live</option> Amber<option value="amber">Amber</option> Ankur Bangla<option value="ankur">Ankur Bangla</option> Annvix<option value="annvix">Annvix</option> AnNyung<option value="annyung">AnNyung</option> Anonym.OS<option value="anonymos">Anonym.OS</option> for some crazy reason. This led to dillo showing labels like "AnNyung Anonym.OS".
Diffstat (limited to 'src/form.hh')
-rw-r--r--src/form.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/form.hh b/src/form.hh
index 297442e0..640e7e69 100644
--- a/src/form.hh
+++ b/src/form.hh
@@ -57,6 +57,7 @@ void Html_tag_close_textarea(DilloHtml *html);
void Html_tag_open_select(DilloHtml *html, const char *tag, int tagsize);
void Html_tag_close_select(DilloHtml *html);
void Html_tag_open_option(DilloHtml *html, const char *tag, int tagsize);
+void Html_tag_close_option(DilloHtml *html);
void Html_tag_open_button(DilloHtml *html, const char *tag, int tagsize);
void Html_tag_close_button(DilloHtml *html);