# Strange space between words in lstlisting

I am trying to get rid of strange spacing between words in lstlisting.

\lstnewenvironment{code}[1][]%
{\noindent\minipage{\linewidth}\medskip
\lstset{basicstyle=\ttfamily\small,#1,columns=fullflexible,  sensitive=true,     language=XML,    breaklines=true,

}}
{\endminipage}


_

\begin{code}
<http://www.example.com/humans.rdfs#hasMother> a rdf:Property;
rdfs:label "has for mother"@en,
\end{code}

• Though I did answer your question, please don't remove your code since it might be of interest for future readers! – Skillmon Jul 12 '17 at 14:31

In \lstset use showstringspaces=false.