1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-04 08:17:17 -05:00

[html] Added section element. Refs #207

This commit is contained in:
Witold Filipczyk 2023-01-22 13:32:40 +01:00
parent ac4e417a3c
commit 7e528dcf1d
3 changed files with 8 additions and 0 deletions

View File

@ -41,6 +41,12 @@
/* Unsafe macros */ /* Unsafe macros */
#include "document/html/internal.h" #include "document/html/internal.h"
void
html_section(struct html_context *html_context, char *a,
char *xxx3, char *xxx4, char **xxx5)
{
}
void void
html_span(struct html_context *html_context, char *a, html_span(struct html_context *html_context, char *a,
char *xxx3, char *xxx4, char **xxx5) char *xxx3, char *xxx4, char **xxx5)

View File

@ -45,6 +45,7 @@ element_handler_T html_pre;
element_handler_T html_quote; element_handler_T html_quote;
element_handler_T html_quote_close; element_handler_T html_quote_close;
element_handler_T html_script; element_handler_T html_script;
element_handler_T html_section;
element_handler_T html_span; element_handler_T html_span;
element_handler_T html_style; element_handler_T html_style;
element_handler_T html_style_close; element_handler_T html_style_close;

View File

@ -507,6 +507,7 @@ static struct element_info elements[] = {
{"Q", html_quote, html_quote_close, 0, ET_NESTABLE }, {"Q", html_quote, html_quote_close, 0, ET_NESTABLE },
{"S", html_underline, NULL, 0, ET_NESTABLE }, {"S", html_underline, NULL, 0, ET_NESTABLE },
{"SCRIPT", html_script, NULL, 0, ET_NESTABLE }, {"SCRIPT", html_script, NULL, 0, ET_NESTABLE },
{"SECTION", html_section, NULL, 0, ET_NESTABLE },
{"SELECT", html_select, NULL, 0, ET_NESTABLE }, {"SELECT", html_select, NULL, 0, ET_NESTABLE },
{"SOURCE", html_source, NULL, 1, ET_NON_PAIRABLE}, {"SOURCE", html_source, NULL, 1, ET_NON_PAIRABLE},
{"SPAN", html_span, NULL, 0, ET_NESTABLE }, {"SPAN", html_span, NULL, 0, ET_NESTABLE },