Hello,
I notice that these entities are defined like this:
def emdash opts
"—"
end
def endash opts
"–"
end
def arrow opts
"→"
end
However, any space from the original markup is stripped, so "hello --
world"
becomes "hello—world". I've overridden the methods to deal with
this:
def emdash opts
" — "
end
def endash opts
" – "
end
def arrow opts
" → "
end
however, I'm not sure if this is the responsibility of the scanner after
all, for these three?
JS
on 2008-01-04 15:34
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.