[brailleblaster] Re: Characters less than 0x20

  • From: Keith Creasy <kcreasy@xxxxxxx>
  • To: "brailleblaster@xxxxxxxxxxxxx" <brailleblaster@xxxxxxxxxxxxx>
  • Date: Fri, 19 Jul 2013 14:11:40 +0000

John.

The <pre> tag is HTML. We shouldn't be finding it in dtbook or nimas. That 
doesn't mean no one will put them in there but they are not valid.

There should be a better way to make this work than to do something global when 
it really only applies to one vocabulary, albeit a very ubiquitous one.



-----Original Message-----
From: brailleblaster-bounce@xxxxxxxxxxxxx 
[mailto:brailleblaster-bounce@xxxxxxxxxxxxx] On Behalf Of John J. Boyer
Sent: Friday, July 19, 2013 10:09 AM
To: brailleblaster@xxxxxxxxxxxxx
Subject: [brailleblaster] Characters less than 0x20

A while ago I added a bit of code to liblouisutdml to change all characters 
below 0x20 to space. However, this will mess up text within a <pre> tag, which 
is used for computer programs, among other things. I think the parser will flag 
any invalid characters, so I now want to remove this bit of code. It was 
inserted to salve a problem with text nodes containing a newline character. 
Words were being run together. If this happens after the code is removed it 
will have to be fixed in another way.

John

--
John J. Boyer; President, Chief Software Developer Abilitiessoft, Inc.
http://www.abilitiessoft.com
Madison, Wisconsin USA
Developing software for people with disabilities



Other related posts: