diff --git a/src/document/html/parser.h b/src/document/html/parser.h
index c10cb8a82..4c766b184 100644
--- a/src/document/html/parser.h
+++ b/src/document/html/parser.h
@@ -30,14 +30,14 @@ enum format_attr {
AT_PREFORMATTED = 32,
};
-struct text_attrib_style {
+struct text_style {
enum format_attr attr;
color_T fg;
color_T bg;
};
struct text_attrib {
- struct text_attrib_style style;
+ struct text_style style;
int fontsize;
unsigned char *link;
diff --git a/src/document/html/renderer.c b/src/document/html/renderer.c
index 4560726a9..4a7a6c1e8 100644
--- a/src/document/html/renderer.c
+++ b/src/document/html/renderer.c
@@ -340,7 +340,7 @@ static inline struct screen_char *
get_format_screen_char(struct html_context *html_context,
enum link_state link_state)
{
- static struct text_attrib_style ta_cache = { -1, 0x0, 0x0 };
+ static struct text_style ta_cache = { -1, 0x0, 0x0 };
static struct screen_char schar_cache;
if (memcmp(&ta_cache, &format.style, sizeof(ta_cache))) {