version 1.207, 2017/02/05 20:22:04 |
version 1.208, 2017/03/13 19:01:38 |
Line 534 print_otag(struct html *h, enum htmltag tag, const cha |
|
Line 534 print_otag(struct html *h, enum htmltag tag, const cha |
|
print_byte(h, '='); |
print_byte(h, '='); |
print_byte(h, '"'); |
print_byte(h, '"'); |
switch (*fmt) { |
switch (*fmt) { |
case 'M': |
|
print_href(h, arg1, arg2, 1); |
|
fmt++; |
|
break; |
|
case 'I': |
case 'I': |
print_href(h, arg1, NULL, 0); |
print_href(h, arg1, NULL, 0); |
fmt++; |
fmt++; |
break; |
break; |
|
case 'M': |
|
print_href(h, arg1, arg2, 1); |
|
fmt++; |
|
break; |
case 'R': |
case 'R': |
print_byte(h, '#'); |
print_byte(h, '#'); |
|
print_encode(h, arg1, NULL, 1); |
fmt++; |
fmt++; |
/* FALLTHROUGH */ |
break; |
|
case 'T': |
|
print_encode(h, arg1, NULL, 1); |
|
print_word(h, "\" title=\""); |
|
print_encode(h, arg1, NULL, 1); |
|
fmt++; |
|
break; |
default: |
default: |
print_encode(h, arg1, NULL, 1); |
print_encode(h, arg1, NULL, 1); |
break; |
break; |