PDA

View Full Version : Should I use HTML codes or not for braces and brackets?



Alessandra Kelley
05-29-2011, 09:58 PM
I'm formatting someone else's science fiction novel for the Kindle (using HTML).

One of the characters has a very alien, simultaneous, fractal thought process, written as nested phrases enclosed in curly braces ({}) and square brackets ([]).

While [] and {} don't mess up HTML (which uses angled brackets, <>), I am a little concerned about them because of their use in programming.

Would it be better to replace the braces and brackets with their equivalent HTML codes (i.e. [ for [ and so on)? Or am I being too fussy?

Edit: Whoops -- my HTML code got replaced with a [ . Well, it started with a & and ended with a ; and was a number beginning with a #.

davidw
05-30-2011, 12:06 AM
You could just use the 'real things' and if it doesn't look good on the Kindle (you have an actual device to test on, right?) you could just do a global search and replace to fix things up.

Medievalist
05-30-2011, 05:37 AM
Those are ASCII characters; you should be fine.