White space in middle of table value

White space in middle of table value

mstocksmstocks Posts: 1Questions: 0Answers: 0
edited September 2013 in General
Hi,

See my example here: http://live.datatables.net/emeyat

I changed the first 'Trident' value so it has multiple spaces between the letters however it only shows 1 space each time.

Is it possible to preserve the white space? When I look at the source it has the correct value.

Thanks

Replies

  • essexstephessexsteph Posts: 57Questions: 0Answers: 0
    This isn't a datatables issue - browsers automatically truncate whitespace. The solution is to use the nonbreaking space entity, e.g.

    [code]
     
    [/code]

    See http://live.datatables.net/emeyat/2/edit

    Steph
This discussion has been closed.