Detailed view of a page, which is probably more useful for debugging than anything else.
get_pagedata('FixToHtmlMiniBuf') | |
_cached_html | transformedtext Object ( [_type] => pagetype_wikitext Object ( ) [_basepage] => FixToHtmlMiniBuf [_content] => Array ( [0] => <div class="wikitext"><p class="tightenable top">&lt;verbatim&gt; " Vim syntax support file " Maintainer: Bram Moolenaar &lt;Bram@vim.org&gt; " Last Change: 2004 May 3 " (modified by Tofer Chagnon &lt;toferc@mail.com&gt;) " (modified by David Ne\v{c}as (Yeti) &lt;yeti@physics.muni.cz&gt;)</p> <p class="tightenable">" Transform a file into HTML, using the current syntax highlighting.</p> <p class="tightenable bottom">" Number lines when explicitely requested or when `number' is set if exists("html_number_lines")</p> <blockquote class="tightenable top bottom"><p class="tightenable top bottom">let s:numblines = html_number_lines</p> </blockquote> <p class="tightenable top bottom">else</p> <blockquote class="tightenable top bottom"><p class="tightenable top bottom">let s:numblines = &amp;number</p> </blockquote> <p class="tightenable top">endif</p> <p class="tightenable bottom">" When not in gui we can only guess the colors. if has("gui_running")</p> <blockquote class="tightenable top bottom"><p class="tightenable top bottom">let s:whatterm = "gui"</p> </blockquote> <p class="tightenable top bottom">else</p> <blockquote class="tightenable top bottom"><p class="tightenable top bottom">let s:whatterm = "cterm" if &amp;t_Co == 8</p> <blockquote class="tightenable top bottom"><p class="tightenable top bottom">let s:cterm_color0 = "#808080" let s:cterm_color1 = "#ff6060" let s:cterm_color2 = "#00ff00" let s:cterm_color3 = "#ffff00" let s:cterm_color4 = "#8080ff" let s:cterm_color5 = "#ff40ff" let s:cterm_color6 = "#00ffff" let s:cterm_color7 = "#ffffff"</p> </blockquote> <p class="tightenable top bottom">else</p> <blockquote class="tightenable top bottom"><p class="tightenable top bottom">let s:cterm_color0 = "#000000" let s:cterm_color1 = "#c00000" let s:cterm_color2 = "#008000" let s:cterm_color3 = "#804000" let s:cterm_color4 = "#0000c0" let s:cterm_color5 = "#c000c0" let s:cterm_color6 = "#008080" let s:cterm_color7 = "#c0c0c0" let s:cterm_color8 = "#808080" let s:cterm_color9 = "#ff6060" let s:cterm_color10 = "#00ff00" let s:cterm_color11 = "#ffff00" let s:cterm_color12 = "#8080ff" let s:cterm_color13 = "#ff40ff" let s:cterm_color14 = "#00ffff" let s:cterm_color15 = "#ffffff"</p> </blockquote> <p class="tightenable top bottom">endif</p> </blockquote> <p class="tightenable top">endif</p> <p class="tightenable bottom">" Return good color specification: in GUI no transformation is done, in " terminal return RGB values of known colors and empty string on unknown if s:whatterm == "gui"</p> <blockquote class="tightenable top bottom"><p class="tightenable top bottom">function! s: [1] => cached_wikilink Object ( [_page] => HtmlColor ) [2] => (color)</p> <blockquote class="tightenable top bottom"><p class="tightenable top bottom">return a:color</p> </blockquote> <p class="tightenable top bottom">endfun</p> </blockquote> <p class="tightenable top bottom">else</p> <blockquote class="tightenable top bottom"><p class="tightenable top bottom">function! s: [3] => cached_wikilink Object ( [_page] => HtmlColor ) [4] => (color)</p> <blockquote class="tightenable top bottom"><p class="tightenable top bottom">if exists("s:cterm_color" . a:color)</p> <blockquote class="tightenable top bottom"><p class="tightenable top bottom">execute "return s:cterm_color" . a:color</p> </blockquote> <p class="tightenable top bottom">else</p> <blockquote class="tightenable top bottom"><p class="tightenable top bottom">return</p> </blockquote> <p class="tightenable top bottom">endif</p> </blockquote> <p class="tightenable top bottom">endfun</p> </blockquote> <p class="tightenable top">endif</p> <p class="tightenable bottom">if !exists("html_use_css")</p> <blockquote class="tightenable top bottom"><p class="tightenable top bottom">" Return opening HTML tag for given highlight id function! s: [5] => cached_wikilink Object ( [_page] => HtmlOpening ) [6] => (id)</p> <blockquote class="tightenable top bottom"><p class="tightenable top bottom">let a = if synIDattr(a:id, "inverse")</p> <blockquote class="tightenable top bottom"><p class="tightenable top bottom">" For inverse, we always must set both colors (and exchange them) let x = s: [7] => cached_wikilink Object ( [_page] => HtmlColor ) [8] => (synIDattr(a:id, "fg#", s:whatterm)) let a = a . '&lt;span style="background-color: ' . ( x != ? x : s:fgc ) . '"&gt;' let x = s: [9] => cached_wikilink Object ( [_page] => HtmlColor ) [10] => (synIDattr(a:id, "bg#", s:whatterm)) let a = a . '&lt;font color="' . ( x != ? x : s:bgc ) . '"&gt;'</p> </blockquote> <p class="tightenable top bottom">else</p> <blockquote class="tightenable top bottom"><p class="tightenable top bottom">let x = s: [11] => cached_wikilink Object ( [_page] => HtmlColor ) [12] => (synIDattr(a:id, "bg#", s:whatterm)) if x != | let a = a . '&lt;span style="background-color: ' . x . '"&gt;' | endif let x = s: [13] => cached_wikilink Object ( [_page] => HtmlColor ) [14] => (synIDattr(a:id, "fg#", s:whatterm)) if x != | let a = a . '&lt;font color="' . x . '"&gt;' | endif</p> </blockquote> <p class="tightenable top bottom">endif if synIDattr(a:id, "bold") | let a = a . "&lt;b&gt;" | endif if synIDattr(a:id, "italic") | let a = a . "&lt;i&gt;" | endif if synIDattr(a:id, "underline") | let a = a . "&lt;u&gt;" | endif return a</p> </blockquote> <p class="tightenable top">endfun</p> <p class="tightenable bottom">" Return closing HTML tag for given highlight id function s: [15] => cached_wikilink Object ( [_page] => HtmlClosing ) [16] => (id)</p> <blockquote class="tightenable top bottom"><p class="tightenable top bottom">let a = if synIDattr(a:id, "underline") | let a = a . "&lt;/u&gt;" | endif if synIDattr(a:id, "italic") | let a = a . "&lt;/i&gt;" | endif if synIDattr(a:id, "bold") | let a = a . "&lt;/b&gt;" | endif if synIDattr(a:id, "inverse")</p> <blockquote class="tightenable top bottom"><p class="tightenable top bottom">let a = a . '&lt;/font&gt;&lt;/span&gt;'</p> </blockquote> <p class="tightenable top bottom">else</p> <blockquote class="tightenable top bottom"><p class="tightenable top bottom">let x = s: [17] => cached_wikilink Object ( [_page] => HtmlColor ) [18] => (synIDattr(a:id, "fg#", s:whatterm)) if x != | let a = a . '&lt;/font&gt;' | endif let x = s: [19] => cached_wikilink Object ( [_page] => HtmlColor ) [20] => (synIDattr(a:id, "bg#", s:whatterm)) if x != | let a = a . '&lt;/span&gt;' | endif</p> </blockquote> <p class="tightenable top bottom">endif return a</p> </blockquote> <p class="tightenable top bottom">endfun</p> </blockquote> <p class="tightenable top">endif</p> <p class="tightenable bottom">" Return CSS style describing given highlight id (can be empty) function! s:CSS1(id)</p> <blockquote class="tightenable top bottom"><p class="tightenable top bottom">let a = if synIDattr(a:id, "inverse")</p> <blockquote class="tightenable top bottom"><p class="tightenable top bottom">" For inverse, we always must set both colors (and exchange them) let x = s: [21] => cached_wikilink Object ( [_page] => HtmlColor ) [22] => (synIDattr(a:id, "bg#", s:whatterm)) let a = a . "color: " . ( x != ? x : s:bgc ) . "; " let x = s: [23] => cached_wikilink Object ( [_page] => HtmlColor ) [24] => (synIDattr(a:id, "fg#", s:whatterm)) let a = a . "background-color: " . ( x != ? x : s:fgc ) . "; "</p> </blockquote> <p class="tightenable top bottom">else</p> <blockquote class="tightenable top bottom"><p class="tightenable top bottom">let x = s: [25] => cached_wikilink Object ( [_page] => HtmlColor ) [26] => (synIDattr(a:id, "fg#", s:whatterm)) if x != | let a = a . "color: " . x . "; " | endif let x = s: [27] => cached_wikilink Object ( [_page] => HtmlColor ) [28] => (synIDattr(a:id, "bg#", s:whatterm)) if x != | let a = a . "background-color: " . x . "; " | endif</p> </blockquote> <p class="tightenable top bottom">endif if synIDattr(a:id, "bold") | let a = a . "font-weight: bold; " | endif if synIDattr(a:id, "italic") | let a = a . "font-style: italic; " | endif if synIDattr(a:id, "underline") | let a = a . "text-decoration: underline; " | endif return a</p> </blockquote> <p class="tightenable top">endfun</p> <p class="tightenable bottom">" Figure out proper MIME charset from the 'encoding' option. if exists("html_use_encoding")</p> <blockquote class="tightenable top bottom"><p class="tightenable top bottom">let s:html_encoding = html_use_encoding</p> </blockquote> <p class="tightenable top bottom">else</p> <blockquote class="tightenable top bottom"><p class="tightenable top bottom">let s:vim_encoding = &amp;encoding if s:vim_encoding = '^8bit\|^2byte'</p> <blockquote class="tightenable top bottom"><p class="tightenable top bottom">let s:vim_encoding = substitute(s:vim_encoding, '^8bit-\|^2byte-', <em>, </em>)</p> </blockquote> <p class="tightenable top bottom">endif if s:vim_encoding == 'latin1'</p> <blockquote class="tightenable top bottom"><p class="tightenable top bottom">let s:html_encoding = 'iso-8859-1'</p> </blockquote> <p class="tightenable top bottom">elseif s:vim_encoding = "^cp12"</p> <blockquote class="tightenable top bottom"><p class="tightenable top bottom">let s:html_encoding = substitute(s:vim_encoding, 'cp', 'windows-', '')</p> </blockquote> <p class="tightenable top bottom">elseif s:vim_encoding == 'sjis'</p> <blockquote class="tightenable top bottom"><p class="tightenable top bottom">let s:html_encoding = 'Shift_JIS'</p> </blockquote> <p class="tightenable top bottom">elseif s:vim_encoding == 'euc-cn'</p> <blockquote class="tightenable top bottom"><p class="tightenable top bottom">let s:html_encoding = 'GB_2312-80'</p> </blockquote> <p class="tightenable top bottom">elseif s:vim_encoding == 'euc-tw'</p> <blockquote class="tightenable top bottom"><p class="tightenable top bottom">let s:html_encoding =</p> </blockquote> <p class="tightenable top bottom">elseif s:vim_encoding = '^euc\|^iso\|^koi'</p> <blockquote class="tightenable top bottom"><p class="tightenable top bottom">let s:html_encoding = substitute(s:vim_encoding, '.*', '\U\0', '')</p> </blockquote> <p class="tightenable top bottom">elseif s:vim_encoding == 'cp949'</p> <blockquote class="tightenable top bottom"><p class="tightenable top bottom">let s:html_encoding = 'KS_C_5601-1987'</p> </blockquote> <p class="tightenable top bottom">elseif s:vim_encoding == 'cp936'</p> <blockquote class="tightenable top bottom"><p class="tightenable top bottom">let s:html_encoding = 'GBK'</p> </blockquote> <p class="tightenable top bottom">elseif s:vim_encoding = '^ucs\|^utf'</p> <blockquote class="tightenable top bottom"><p class="tightenable top bottom">let s:html_encoding = 'UTF-8'</p> </blockquote> <p class="tightenable top bottom">else</p> <blockquote class="tightenable top bottom"><p class="tightenable top bottom">let s:html_encoding =</p> </blockquote> <p class="tightenable top bottom">endif</p> </blockquote> <p class="tightenable top">endif</p> <p class="tightenable">" Set some options to make it work faster. " Expand tabs in original buffer to get 'tabstop' correctly used. " Don't report changes for :substitute, there will be many of them. let s:old_title = &amp;title let s:old_icon = &amp;icon let s:old_et = &amp;l:et let s:old_report = &amp;report let s:old_search = @/ set notitle noicon setlocal et set report=1000000</p> <p class="tightenable bottom">" Split window to create a buffer with the HTML file. let s:sourceBufNr = bufnr("%") if expand("%") ==</p> <blockquote class="tightenable top bottom"><p class="tightenable top bottom">let s:newBufName = 'Untitled.html'</p> </blockquote> <p class="tightenable top bottom">else</p> <blockquote class="tightenable top bottom"><p class="tightenable top bottom">let s:newBufName = expand("%") . '.html'</p> </blockquote> <p class="tightenable top">endif exe 'new ' . s:newBufName let s:newBufNr = bufnr(s:newBufName) set modifiable %d let s:old_paste = &amp;paste set paste let s:old_magic = &amp;magic set magic</p> <p class="tightenable bottom">" The DTD if exists("html_use_css")</p> <blockquote class="tightenable top bottom"><p class="tightenable top bottom">exe "normal a&lt;!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01//EN\"\n \" [29] => cached_externallink Object ( [_url] => http://www.w3.org/TR/html4/strict.dtd\ ) [30] => "&gt;\n\e"</p> </blockquote> <p class="tightenable top">endif</p> <p class="tightenable bottom">" HTML header, with the title and generator ;-). Left free space for the CSS, " to be filled at the end. exe "normal a&lt;html&gt;\n&lt;head&gt;\n&lt;title&gt;\e" exe "normal a" . expand("%:p:") . "&lt;/title&gt;\n\e" exe "normal a&lt;meta name=\"Generator\" content=\"Vim/" . version/100 . "." . version %100 . "\"&gt;\n\e" if s:html_encoding !=</p> <blockquote class="tightenable top bottom"><p class="tightenable top bottom">exe "normal a&lt;meta http-equiv=\"content-type\" content=\"text/html; charset=" . s:html_encoding . "\"&gt;\n\e"</p> </blockquote> <p class="tightenable top bottom">endif if exists("html_use_css")</p> <blockquote class="tightenable top bottom"><p class="tightenable top bottom">exe "normal a&lt;style type=\"text/css\"&gt;\n&lt;!--\n--&gt;\n&lt;/style&gt;\n\e"</p> </blockquote> <p class="tightenable top bottom">endif if exists("html_no_pre")</p> <blockquote class="tightenable top bottom"><p class="tightenable top bottom">exe "normal a&lt;/head&gt;\n&lt;body&gt;\n\e"</p> </blockquote> <p class="tightenable top bottom">else</p> <blockquote class="tightenable top bottom"><p class="tightenable top bottom">exe "normal a&lt;/head&gt;\n&lt;body&gt;\n&lt;pre&gt;\n\e"</p> </blockquote> <p class="tightenable top">endif</p> <p class="tightenable">exe 'b' . s:sourceBufNr</p> <p class="tightenable">" List of all id's let s:idlist = ","</p> <p class="tightenable bottom">let s:expandedtab = ' ' while strlen(s:expandedtab) &lt; &amp;ts</p> <blockquote class="tightenable top bottom"><p class="tightenable top bottom">let s:expandedtab = s:expandedtab . ' '</p> </blockquote> <p class="tightenable top">endwhile</p> <p class="tightenable bottom">" Loop over all lines in the original text. " Use html_start_line and html_end_line if they are set. if exists("html_start_line")</p> <blockquote class="tightenable top bottom"><p class="tightenable top bottom">let s:lnum = html_start_line if s:lnum &lt; 1 || s:lnum &gt; line("$")</p> <blockquote class="tightenable top bottom"><p class="tightenable top bottom">let s:lnum = 1</p> </blockquote> <p class="tightenable top bottom">endif</p> </blockquote> <p class="tightenable top bottom">else</p> <blockquote class="tightenable top bottom"><p class="tightenable top bottom">let s:lnum = 1</p> </blockquote> <p class="tightenable top bottom">endif if exists("html_end_line")</p> <blockquote class="tightenable top bottom"><p class="tightenable top bottom">let s:end = html_end_line if s:end &lt; s:lnum || s:end &gt; line("$")</p> <blockquote class="tightenable top bottom"><p class="tightenable top bottom">let s:end = line("$")</p> </blockquote> <p class="tightenable top bottom">endif</p> </blockquote> <p class="tightenable top bottom">else</p> <blockquote class="tightenable top bottom"><p class="tightenable top bottom">let s:end = line("$")</p> </blockquote> <p class="tightenable top">endif</p> <p class="tightenable">while s:lnum &lt;= s:end</p> <blockquote class="tightenable bottom"><p class="tightenable top">" Get the current line let s:line = getline(s:lnum) let s:len = strlen(s:line) let s:new =</p> <p class="tightenable bottom">if s:numblines</p> <blockquote class="tightenable top bottom"><p class="tightenable top bottom">let s:new = '&lt;span class="lnr"&gt;' . strpart(' ', 0, strlen(line("$")) - strlen(s:lnum)) . s:lnum . '&lt;/span&gt; '</p> </blockquote> <p class="tightenable top">endif</p> <p class="tightenable bottom">" Loop over each character in the line let s:col = 1 while s:col &lt;= s:len</p> <blockquote class="tightenable top bottom"><p class="tightenable top">let s:startcol = s:col " The start column for processing text let s:id = synID(s:lnum, s:col, 1) let s:col = s:col + 1 " Speed loop (it's small - that's the trick) " Go along till we find a change in synID while s:col &lt;= s:len &amp;&amp; s:id == synID(s:lnum, s:col, 1) | let s:col = s:col + 1 | endwhile</p> <p class="tightenable bottom">" Output the text with the same synID, with class set to {s:id_name} let s:id = synIDtrans(s:id) let s:id_name = synIDattr(s:id, "name", s:whatterm) let s:new = s:new . '&lt;span class="' . s:id_name . '"&gt;' . substitute(substitute(substitute(substitute(substitute(strpart(s:line, s:startcol - 1, s:col - s:startcol), '&amp;', '\&amp;amp;', 'g'), '&lt;', '\&amp;lt;', 'g'), '&gt;', '\&amp;gt;', 'g'), '"', '\&amp;quot;', 'g'), "\x0c", '&lt;hr class="PAGE-BREAK"&gt;', 'g') . '&lt;/span&gt;' " Add the class to class list if it's not there yet if stridx(s:idlist, "," . s:id . ",") == -1</p> <blockquote class="tightenable top bottom"><p class="tightenable top bottom">let s:idlist = s:idlist . s:id . ","</p> </blockquote> <p class="tightenable top">endif</p> <p class="tightenable bottom">if s:col &gt; s:len</p> <blockquote class="tightenable top bottom"><p class="tightenable top bottom">break</p> </blockquote> <p class="tightenable top bottom">endif</p> </blockquote> <p class="tightenable top">endwhile</p> <p class="tightenable bottom">" Expand tabs let s:pad=0 let s:start = 0 let s:idx = stridx(s:line, "\t") while s:idx &gt;= 0</p> <blockquote class="tightenable top bottom"><p class="tightenable top bottom">let s:i = &amp;ts - ((s:start + s:pad + s:idx) % &amp;ts) let s:new = substitute(s:new, '\t', strpart(s:expandedtab, 0, s:i), '') let s:pad = s:pad + s:i - 1 let s:start = s:start + s:idx + 1 let s:idx = stridx(strpart(s:line, s:start), "\t")</p> </blockquote> <p class="tightenable top">endwhile</p> <p class="tightenable bottom">if exists("html_no_pre")</p> <blockquote class="tightenable top bottom"><p class="tightenable top bottom">let s:new = substitute(s:new, ' ', '\&amp;nbsp;\&amp;nbsp;', 'g') . '&lt;br&gt;'</p> </blockquote> <p class="tightenable top bottom">endif exe 'b' . s:newBufNr exe "normal a" . strtrans(s:new) . "\n\e" exe 'b' . s:sourceBufNr let s:lnum = s:lnum + 1 +</p> </blockquote> <p class="tightenable top bottom">endwhile " Finish with the last line exe 'b' . s:newBufNr if exists("html_no_pre")</p> <blockquote class="tightenable top bottom"><p class="tightenable top bottom">exe "normal a\n&lt;/body&gt;\n&lt;/html&gt;\e"</p> </blockquote> <p class="tightenable top bottom">else</p> <blockquote class="tightenable top bottom"><p class="tightenable top bottom">exe "normal a&lt;/pre&gt;\n&lt;/body&gt;\n&lt;/html&gt;\e"</p> </blockquote> <p class="tightenable top">endif</p> <p class="tightenable bottom">" Now, when we finally know which, we define the colors and styles if exists("html_use_css")</p> <blockquote class="tightenable top bottom"><p class="tightenable top bottom">8</p> </blockquote> <p class="tightenable top">endif</p> <p class="tightenable bottom">" Find out the background and foreground color. let s:fgc = s: [31] => cached_wikilink Object ( [_page] => HtmlColor ) [32] => (synIDattr(hlID("Normal"), "fg#", s:whatterm)) let s:bgc = s: [33] => cached_wikilink Object ( [_page] => HtmlColor ) [34] => (synIDattr(hlID("Normal"), "bg#", s:whatterm)) if s:fgc ==</p> <blockquote class="tightenable top bottom"><p class="tightenable top bottom">let s:fgc = ( &amp;background == "dark" ? "#ffffff" : "#000000" )</p> </blockquote> <p class="tightenable top bottom">endif if s:bgc ==</p> <blockquote class="tightenable top bottom"><p class="tightenable top bottom">let s:bgc = ( &amp;background == "dark" ? "#000000" : "#ffffff" )</p> </blockquote> <p class="tightenable top">endif</p> <p class="tightenable bottom">" Normal/global attributes " For Netscape 4, set &lt;body&gt; attributes too, though, strictly speaking, it's " incorrect. if exists("html_use_css")</p> <blockquote class="tightenable top bottom"><p class="tightenable top bottom">if exists("html_no_pre")</p> <blockquote class="tightenable top bottom"><p class="tightenable top bottom">execute "normal A\nbody { color: " . s:fgc . "; background-color: " . s:bgc . "; font-family: Courier, monospace; }\e"</p> </blockquote> <p class="tightenable top bottom">else</p> <blockquote class="tightenable top bottom"><p class="tightenable top bottom">execute "normal A\npre { color: " . s:fgc . "; background-color: " . s:bgc . "; }\e" yank put execute "normal ^cwbody\e"</p> </blockquote> <p class="tightenable top bottom">endif</p> </blockquote> <p class="tightenable top bottom">else</p> <blockquote class="tightenable top bottom"><p class="tightenable top bottom">if exists("html_no_pre")</p> <blockquote class="tightenable top bottom"><p class="tightenable top bottom">execute '%s:&lt;body&gt;:&lt;body ' . 'bgcolor="' . s:bgc . '" text="' . s:fgc . '" style="font-family\: Courier, monospace;"&gt;'</p> </blockquote> <p class="tightenable top bottom">else</p> <blockquote class="tightenable top bottom"><p class="tightenable top bottom">execute '%s:&lt;body&gt;:&lt;body ' . 'bgcolor="' . s:bgc . '" text="' . s:fgc . '"&gt;'</p> </blockquote> <p class="tightenable top bottom">endif</p> </blockquote> <p class="tightenable top">endif</p> <p class="tightenable bottom">" Line numbering attributes if s:numblines</p> <blockquote class="tightenable top bottom"><p class="tightenable top bottom">if exists("html_use_css")</p> <blockquote class="tightenable top bottom"><p class="tightenable top bottom">execute "normal A\n.lnr { " . s:CSS1(hlID(" [35] => cached_wikilink Object ( [_page] => LineNr ) [36] => ")) . "}\e"</p> </blockquote> <p class="tightenable top bottom">else</p> <blockquote class="tightenable top bottom"><p class="tightenable top bottom">execute '%s+&lt;span class="lnr"&gt;\( [37] => cached_wikilink Object ( [_page] => ^< ) [38] => *\)&lt;/span&gt;+' . s: [39] => cached_wikilink Object ( [_page] => HtmlOpening ) [40] => (hlID(" [41] => cached_wikilink Object ( [_page] => LineNr ) [42] => ")) . '\1' . s: [43] => cached_wikilink Object ( [_page] => HtmlClosing ) [44] => (hlID(" [45] => cached_wikilink Object ( [_page] => LineNr ) [46] => ")) . '+g'</p> </blockquote> <p class="tightenable top bottom">endif</p> </blockquote> <p class="tightenable top">endif</p> <p class="tightenable bottom">" Gather attributes for all other classes let s:idlist = strpart(s:idlist, 1) while s:idlist !=</p> <blockquote class="tightenable top bottom"><p class="tightenable top bottom">let s:attr = let s:col = stridx(s:idlist, ",") let s:id = strpart(s:idlist, 0, s:col) let s:idlist = strpart(s:idlist, s:col + 1) let s:attr = s:CSS1(s:id) let s:id_name = synIDattr(s:id, "name", s:whatterm) " If the class has some attributes, export the style, otherwise DELETE all " its occurences to make the HTML shorter if s:attr !=</p> <blockquote class="tightenable top bottom"><p class="tightenable top bottom">if exists("html_use_css")</p> <blockquote class="tightenable top bottom"><p class="tightenable top bottom">execute "normal A\n." . s:id_name . " { " . s:attr . "}"</p> </blockquote> <p class="tightenable top bottom">else</p> <blockquote class="tightenable top bottom"><p class="tightenable top bottom">execute '%s+&lt;span class="' . s:id_name . '"&gt;\( [47] => cached_wikilink Object ( [_page] => ^< ) [48] => *\)&lt;/span&gt;+' . s: [49] => cached_wikilink Object ( [_page] => HtmlOpening ) [50] => (s:id) . '\1' . s: [51] => cached_wikilink Object ( [_page] => HtmlClosing ) [52] => (s:id) . '+g'</p> </blockquote> <p class="tightenable top bottom">endif</p> </blockquote> <p class="tightenable top bottom">else</p> <blockquote class="tightenable top bottom"><p class="tightenable top bottom">execute '%s+&lt;span class="' . s:id_name . '"&gt;\( [53] => cached_wikilink Object ( [_page] => ^< ) [54] => *\)&lt;/span&gt;+\1+g' 8</p> </blockquote> <p class="tightenable top bottom">endif</p> </blockquote> <p class="tightenable top">endwhile</p> <p class="tightenable">" Add hyperlinks %s+\( [55] => cached_externallink Object ( [_url] => http://\S\{-}\)\(\([.,;:]\=\(\s\|$\)\)\|[\\ ) [56] => "'&lt;&gt;]\)+&lt;A HREF="\1"&gt;\1&lt;/A&gt;\2+ge</p> <p class="tightenable">" Cleanup %s:\s\+$::e</p> <p class="tightenable">" Restore old settings let &amp;report = s:old_report let &amp;title = s:old_title let &amp;icon = s:old_icon let &amp;paste = s:old_paste let &amp;magic = s:old_magic let @/ = s:old_search exe 'b' . s:sourceBufNr let &amp;l:et = s:old_et exe 'b' . s:newBufNr</p> <p class="tightenable bottom">" Save a little bit of memory (worths doing?) unlet s:old_et s:old_paste s:old_icon s:old_report s:old_title s:old_search unlet s:whatterm s:idlist s:lnum s:end s:fgc s:bgc s:old_magic unlet! s:col s:id s:attr s:len s:line s:new s:did_retab s:numblines delfunc s: [57] => cached_wikilink Object ( [_page] => HtmlColor ) [58] => delfunc s:CSS1 if !exists("html_use_css")</p> <blockquote class="tightenable top bottom"><p class="tightenable top bottom">delfunc s: [59] => cached_wikilink Object ( [_page] => HtmlOpening ) [60] => delfunc s: [61] => cached_wikilink Object ( [_page] => HtmlClosing ) [62] => </p> </blockquote> <p class="tightenable top">endif &lt;/verbatim&gt;</p> <p class="tightenable"><small> [63] => cached_wikilink Object ( [_page] => P ) [64] => latin wife latin booty latin bitch latin escorts [65] => cached_externallink Object ( [_url] => http://web.archive.org/web/20060131191651/http://www.network54.com/index/56738 [_label] => latin booty ) [66] => mexican porn</p> <p class="tightenable">transvestite fashion transexual operation contact transvestite tranny clip [67] => cached_externallink Object ( [_url] => http://web.archive.org/web/20060706170805/http://www.bfu.bg/site/files/?cla6/ladyboystransvestite [_label] => tranny sex ) [68] => tranny clip</p> <p class="tightenable">picture large penis big black dick fucking suck my big dick huge cock dick [69] => cached_externallink Object ( [_url] => http://web.archive.org/web/20060707181558/http://www.bfu.bg/site/files/?cla6/bigpenisbigdick [_label] => huge penis ) [70] => big penis fuck</p> <p class="tightenable">ebony clips ebony women naked ebony sex pics ebony porn sites [71] => cached_externallink Object ( [_url] => http://web.archive.org/web/20060707153521/http://www.bfu.bg/site/files/?cla6/ebonyebony [_label] => ebony fuck ) [72] => ebony chocolate</p> <p class="tightenable">crossdressing arse her chicks with dicks porn [73] => cached_externallink Object ( [_url] => http://web.archive.org/web/20060205100853/http://www.network54.com/index/56730 [_label] => chicks with dicks pics ) [74] => her</p> <p class="tightenable">transgender com transvestite maids transvestite forced transexual escorts london [75] => cached_externallink Object ( [_url] => http://web.archive.org/web/20060131191700/http://www.network54.com/index/56735 [_label] => transsexual escorts london ) [76] => famous transsexual</p> <p class="tightenable">spanking video caning video spank enema spanking fetish [77] => cached_externallink Object ( [_url] => http://web.archive.org/web/20060202093305/http://www.network54.com/index/56791 [_label] => femdom spanking stories ) [78] => spank belt</p> <p class="tightenable"> [79] => cached_wikilink Object ( [_page] => | ) [80] => </p> <p class="tightenable">tight butt in my ass booty movies sweet ass [81] => cached_externallink Object ( [_url] => http://web.archive.org/web/20060705233240/http://www.bfu.bg/site/files/?cla6/analbutt [_label] => tits and ass ) [82] => ebony booty</p> <p class="tightenable bottom"></small></p> </div> ) ) |
hits | 1454 |
get_versiondata('FixToHtmlMiniBuf',9) | |
%content | <verbatim> " Vim syntax support fi ... |
author | WikiWord |
author_id | WikiWord |
is_minor_edit | |
markup | 2 |
mtime | 1186730389 |
pagetype | wikitext |
get_versiondata('FixToHtmlMiniBuf',8) | |
%content | <verbatim> " Vim syntax support fi ... |
_supplanted | 1186730389 |
author | WikiWord |
author_id | WikiWord |
is_minor_edit | |
markup | 2 |
mtime | 1186704520 |
pagetype | wikitext |
get_versiondata('FixToHtmlMiniBuf',7) | |
%content | <verbatim> " Vim syntax support fi ... |
_supplanted | 1186704520 |
author | WikiWord |
author_id | WikiWord |
is_minor_edit | |
markup | 2 |
mtime | 1184337855 |
pagetype | wikitext |
get_versiondata('FixToHtmlMiniBuf',6) | |
%content | <verbatim> " Vim syntax support fi ... |
_supplanted | 1184337855 |
author | WikiWord |
author_id | WikiWord |
is_minor_edit | |
markup | 2 |
mtime | 1184006705 |
pagetype | wikitext |
get_versiondata('FixToHtmlMiniBuf',5) | |
%content | <verbatim> " Vim syntax support fi ... |
_supplanted | 1184006705 |
author | WikiWord |
author_id | WikiWord |
is_minor_edit | |
markup | 2 |
mtime | 1183059834 |
pagetype | wikitext |
get_versiondata('FixToHtmlMiniBuf',4) | |
%content | <verbatim> " Vim syntax suppo ... |
_supplanted | 1183059834 |
author | 82.146.53.20 |
author_id | 82.146.53.20 |
is_minor_edit | |
markup | 2 |
mtime | 1154915594 |
pagetype | wikitext |