python - Django, replace adding an extra ? -
In my demo model, I am doing some HTML input. HTML is showing fine except during an output except for an output Ive using some shortcuts for things like "extra spaces" to use admin for less technical wishing people: Ie: If they have a & amp; Call it Hoover, My queries are being output instead: Who has confused me Any ideas why I am getting an additional EMSP ;; It's not looping and place & amp; A second time. Thank you. Assume that you have "& amp; emsp" already in your html? OK, will be created : You need to make sure that you replace that method which is already called "& amp; emsp". & amp; Emsp;
is replaced with .replace ("& amp;", "& amp; emsp;")
& amp; Emsp; Emsp;
.replace ("& amp; e," & amp; emsp; ")
& amp; Emsp; EMSP;
Comments
Post a Comment