summaryrefslogtreecommitdiff
path: root/content/handlers/html/box_special.c
diff options
context:
space:
mode:
Diffstat (limited to 'content/handlers/html/box_special.c')
-rw-r--r--content/handlers/html/box_special.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/content/handlers/html/box_special.c b/content/handlers/html/box_special.c
index 2332316ce..c6be9e626 100644
--- a/content/handlers/html/box_special.c
+++ b/content/handlers/html/box_special.c
@@ -716,18 +716,18 @@ box_a(dom_node *n,
if (err == DOM_NO_ERR && s != NULL) {
if (dom_string_caseless_lwc_isequal(s,
corestring_lwc__blank))
- box->target = TARGET_BLANK;
+ box->target = "_blank";
else if (dom_string_caseless_lwc_isequal(s,
corestring_lwc__top))
- box->target = TARGET_TOP;
+ box->target = "_top";
else if (dom_string_caseless_lwc_isequal(s,
corestring_lwc__parent))
- box->target = TARGET_PARENT;
+ box->target = "_parent";
else if (dom_string_caseless_lwc_isequal(s,
corestring_lwc__self))
/* the default may have been overridden by a
* <base target=...>, so this is different to 0 */
- box->target = TARGET_SELF;
+ box->target = "_self";
else {
/* 6.16 says that frame names must begin with [a-zA-Z]
* This doesn't match reality, so just take anything */