bug #4564 Designer: spaces in table name with edit table link generates bad links

Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>