Problem with weird & nbsp in firefox

Hey guys need help here. http://www.otojo.com/ is a site. If you go to an article entitled “ Latest Cyanogen, Adds FM Radio to Nexus One at Night, ” you can see that the description was inappropriate in firefox. If you test it through the Firefox addon, it will display a lot of & nbsp. But if you look at its source, no & nbsp. It seems that firefox is automatically added to & nbsp, causing layout distortion. I checked the data source and there is no & nbsp.

The problem is only in Firefox, not in IE. Does anyone have an idea?

+3
source share
5 answers

This page has Unicode without a break.

hexdump :

00009d00  a0 53 74 61 62 6c 65 c2  a0 73 68 6f 74 c2 a0 63  |.Stable..shot..c|
00009d10  61 6d 65 72 61 c2 a0 6d  6f 64 65 c2 a0 2d c2 a0  |amera..mode..-..|

c2 a0, 20 ()? Unicode NO-BREAK SPACE UTF-8, , ,  .

+8

& NBSP; 160. , , , , .

+1

( ENTER) . ,

EDIT:

- (-), .

p

" FM- Android-" , Cyanogen FM- Nexus One. , , : Common: Stableshotcameramode CyanogenCommon: Dual-modesnooze (longpressdismiss) EvanCharltonCommon: ComposeSMS/MMSviasearchbuttonlongpress WesGarnerN1: FMRadiosupport MIUI-://miui.comN1/DS/Hero Slightlyb

0

, . , . , . .

0

Hmm, first of all, you should try to check your html markup ( here ) - there are a lot of errors that can cause firefox to behave seriously curious. I think that the search for this particular error makes sense only when these "easy to fix" -erra disappeared.

0
source

Source: https://habr.com/ru/post/1769681/


All Articles