|
|
#1 |
|
Dead account. Bye
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 587
Karma: 668244
Join Date: Mar 2011
Device: none
|
Possible bug in autocompletion tags
Hi, an issue I've found that I think it's a bug but it also could be a design decision for any reason...
Just suppose you have: Code:
<p>A simple example text</p> Code:
<p>A simple <em>example text</p>
Code:
<p>A simple <em>example </text</p>
Code:
<p>A simple <em>example </text>text</p>
|
|
|
|
|
|
#2 |
|
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Maybe calibre doesn't check the opening tag name.
It probably isn't usually a problem, since a user bug is that you started closing the tag after the space... |
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,687
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
|
|
|
|
|
|
#4 | |
|
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Quote:
It is certainly valid code (it passes W3C validation), but that doesn't mean it isn't a mistake to tag the spaces like that. It is not in the intent of the writer, thus it is wrong. Minor niggle. Because I think code should be written neatly and structurally sound, not just "whatever works" visually. Why yes, I DO do the same with posted BBCode.
|
|
|
|
|
|
|
#5 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,687
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
Well, we must agree to disagree
In this case I go with autocompletion bug, up and front. <p>Cyan sighed gives <p>Cyan</p> sighed or <p>Cyan </sighed>sighed, depending on where you put </. That's a mistake.
Last edited by Terisa de morgan; 12-10-2014 at 05:23 PM. |
|
|
|
| Advert | |
|
|
|
|
#6 |
|
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
You mistake me.
It is a mutual bug, both parties are culpable. ![]() But fat chance of fixing people so calibre should be fixed instead.I wouldn't say no to fixing both... Last edited by eschwartz; 12-10-2014 at 05:46 PM. |
|
|
|
|
|
#7 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,687
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
|
|
|
|
|
|
#8 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609
Karma: 28549044
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
|
|
|
|
|
#9 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,687
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
Thank you, Kovid.
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| 2.x UI bug: How to dismiss dropdown menu in Tags field? | MelBr | Calibre | 10 | 10-19-2014 05:18 PM |
| Searching tags to show tags I want even when it has a tag I do not | Jade Aislin | Library Management | 2 | 04-25-2012 02:01 PM |
| Amazon Tags - Popular tags vs Unique tags. | chrisanthropic | Writers' Corner | 6 | 09-20-2011 12:18 AM |
| Small bug? Case-insensitive tags. | Arrghus | Calibre | 9 | 07-12-2011 02:03 AM |