Lines Matching refs:tag

364         start: function(tag, attrs, unary) {
368 if (markup[tag]) {
369 if (format_chars[tag] && this.in_link) {
370 this.link_formats.push(tag);
373 if (format_chars[tag] && (this.in_font || this.in_header)) {
375 var t = 'temp_' + tag;
379 } else if (tag == 'acronym') {
382 if (format_chars[tag] && this.in_endnotes) {
383 if (tag == 'sup') return;
385 if (tag == 'ol' || tag == 'ul') {
396 markup['li'] = markup[tag];
406 if (tag == 'img') {
418 if (tag == 'a') {
443 if (tag == 'p') {
446 tag = 'p_insert';
452 if (tag == 'table') {
461 } else if (tag == 'tr') {
468 } else if (tag == 'td' || tag == 'th') {
472 type: tag,
494 if (format_chars[tag]) this.format_tag = true;
499 // if(!confirm(tag + ' ' + attrs[i].name + '="' + attrs[i].escaped + '"')) exit;
500 if (tag == 'td' || tag == 'th') {
513 if (attrs[i].escaped == 'u' && tag == 'em') {
514 tag = 'u';
519 if (tag == 'div') {
521 tag = 'blank';
526 if (tag == 'dl' && attrs[i].name == 'class' && attrs[i].value == 'file') {
531 if (tag == 'span' && attrs[i].name == 'class') {
535 if (tag == 'span' && attrs[i].name == 'class') {
550 tag = 'blank';
557 if (tag == 'span' && !ckgedit_xcl_styles) {
597 if (tag == 'td' || tag == 'th') {
598 if (tag == 'td') {
621 if (tag == 'a') {
874 if (tag == 'sup') {
879 tag = 'blank';
888 if (tag == 'pre') {
904 if (this.in_table) tag = 'pre_td';
908 } else if (tag == 'img') {
1018 if (this.link_only) tag = 'img';
1019 if (tag == 'br') {
1042 } else if (tag.match(/^h(\d+|r)/)) {
1044 if (tag.match(/h(\d+)/)) {
1053 if (format_chars[tag]) results += markup[tag];
1054 tag = 'blank';
1060 if (tag == 'b' || tag == 'i' && this.list_level) {
1065 if(this.in_table && tag == 'li') {
1066 // alert(tag);
1068 if (tag == 'li' && this.list_level) {
1089 if (tag == 'a' && this.list_level) {
1092 if (tag == 'a' && local_image) {
1095 } else if (tag == 'a' && (this.export_code || this.code_snippet)) {
1097 } else if (tag == 'a' && this.footnote) {
1098 tag = 'fn_start';
1099 } else if (tag == 'a' && bottom_note) {
1101 } else if (tag == 'a' && this.external_mime) {
1115 if (tag == 'a') {
1123 if (this.in_endnotes && tag == 'a') return;
1124 if (this.code_type && tag == 'span') tag = 'blank';
1128 results += markup[tag]; // Set tag
1130 … if (tag == 'td' || tag == 'th' || (this.last_col_pipes && this.td_align == 'center')) {
1139 } else if (tag == 'a' && this.attr) {
1142 } else if (tag == 'img') {
1175 } else if (tag == 'pre' || tag == 'pre_td') {
1183 } // if markup tag
1186 end: function(tag) {
1188 if (format_chars[tag] && (this.in_font || this.in_header)) {
1190 if (tag == 'sup' || tag == 'sub' || tag == 'del' || tag == 'strike' || tag == 's') {
1191 var t = 'temp_c' + tag;
1192 } else var t = 'temp_' + tag;
1197 if (this.in_endnotes && tag == 'a') return;
1200 } else if (tag == 'a' && !this.link_formats.length) this.in_link = false;
1207 if (!markup[tag]) return;
1209 if (tag == 'sup' && this.attr == 'dwfcknote') {
1214 if (tag != 'li') return;
1216 if (tag == 'span' && this.in_font && !ckgedit_xcl_styles) {
1217 tag = 'font';
1233 if (tag == 'span' && this.curid) {
1237 if (tag == 'dl' && this.downloadable_code) {
1241 if (useComplexTables && (tag == 'td' || tag == 'th')) {
1246 if (tag == 'a' && (this.export_code || this.code_snippet)) {
1252 if (this.code_type && tag == 'span') tag = 'blank';
1253 var current_tag = tag;
1255 tag = 'fn_end';
1257 } else if (tag == 'a' && this.xcl_markup) {
1260 } else if (tag == 'table') {
1268 if (tag == 'p' && this.in_table) {
1269 tag = 'p_insert';
1277 if (tag == 'code' && !this.list_started) { // empty code markup corrupts results
1283 } else if (tag == 'a' && this.attr == 'src') {
1293 if ((tag == 'ol' || tag == 'ul') && !this.in_table) {
1301 tag = "\n\n";
1302 } else if (tag == 'a' && this.external_mime) {
1305 tag = '}} ';
1308 } else if (tag == 'pre') {
1309 tag = markup_end[tag];
1311 tag += this.code_type + ">";
1318 tag += this.code_type + ">";
1322 } else if (markup_end[tag]) {
1323 tag = markup_end[tag];
1324 } else if (this.attr == 'u' && tag == 'em') {
1325 tag = 'u';
1326 } else if (tag == 'acronym') {} else {
1327 tag = markup[tag];
1332 tag = "\n";
1340 tag = '|' + markup['row_span'] + "|\n";
1352 tag = "";
1361 results += tag;
1626 …ace(/(\s*={2,}).*?CKGE_TMP_(\w+)(.*?).*?CKGE_TMP_c?\2.*?\1/gm, function(m, tag) { //remove formats…
1634 results = results.replace(/\s?(CKGE_TMP_\w+)\s?/gm, function(m, tag) {
1635 if ($FORMAT_SUBST[tag]) return $FORMAT_SUBST[tag];
1658 var ReplaceLinkMatch = function(tag, link) {
1659 tag_1 = tag.replace(/oIWIKIo(.*)cIWIKIc/, "$1");