View/Edit #970:_render_eg

Switch to edit mode.

Name(s): _render_eg
1:  "  $xml!moo-help.dtd"
2:  "<!ELEMENT eg (#PCDATA | b | i | eg | link)*>"
3:  "eg is actually <pre>."
4:  {data, attr} = args
5:  data = strsub(data, "/*-", "-*/")
6:  while (index(data, "     "))
7:    data = strsub(data, "     ", "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;")
8:  endwhile
9:  while (index(data, "  "))
10:   data = strsub(data, "  ", "&nbsp;&nbsp;")
11: endwhile
12: return this:strip_whitespace(tostr("`", data, "'"))
13: "Last modified by Lao-Tzu (#8084) on Fri Aug  9 06:14:00 2002 MDT."

Verb arguments: this none this
Verb perms: Readable eXecutable NOT-Debug
Verb owned by: Lao-Tzu (#8084)

You are not logged in.

[home | help | who | search | setup | code]