I meant debug in the sense of stepping thru my ppro script to see
which call was giving me problems; I certainly wouldn't have the skill
to go thru your code.
Anyway, here is the script:
local textIn
clip.copy
textIn = clip.GetHTML
textIn[?"(?is).+</head>"]=""
textIn[?"\r"]=" "
textIn[?"\n"]=""
textIn[?"<p [^>]+>"]="{p}"
textIn[?"<div [^>]+>"]="{p}"
textIn[?"</div>"]=""
textIn[?"<i>"]="{i}"
textIn[?"</i>"]="{/i}"
textIn[?"<b>"]="{b}"
textIn[?"</b>"]="{/b}"
textIn[?"<sup>"]="{sup}"
textIn[?"</sup>"]="{/sup}"
textIn[?"<sub>"]="{sub}"
textIn[?"</sub>"]="{/sub}"
textIn[?"(?i)<br>"]=" "
textIn[?"<[^>]+>"]=""
textIn[?"{"]="<"
textIn[?"}"]=">"
textIn[?"<p>"]="\r\n<p>"
textIn[?"—"]=" - " ;;em dash
textIn[?"–"]=" - " ;;em dash
textIn[?" "]=" " ;;em space
textIn[?"™"]="™"
textIn[?"(r)"]="®"
textIn[?"(c)"]="©"
clip.setHtml(textIn)
On 04/10/06, Julien Pierrehumbert <[EMAIL PROTECTED]> wrote:
> Look, I don't need you to debug anything. All I'm saying is that, if I
> don't get any information on possible bugs, I won't be able to fix
> them... if you want to fix them yourself, by all means do that. You've
> got the code.
Attention: PowerPro's Web site has moved: http://www.ppro.org
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/power-pro/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/power-pro/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/