Some, such as Nasser, were nationalistic socialists.

Please remove spaces between words.
Some,suchasNasser,werenationalisticsocialists.