shiyiya: Shiyiya, a very pale white girl with brown hair and eyes. (Default)
Shiyiya ([personal profile] shiyiya) wrote in [site community profile] dw_suggestions2011-01-31 06:09 pm

Bullet points in cut tags?

Title:
Bullet points in cut tags?

Area:
entries

Summary:
Trying to put a cut tag on text that includes bullets breaks the formatting of the post really badly, this seems like it should be fixed

Description:
I wrote a post including a section with bullet points, then tried to cut tag most of the body of the post, including the bulleted section. Only the part above the bullets was actually behind a cut in the published post, there were extra broken html tags showing (</div>), and it took a lot of beating on it and hunting in the html for tags to delete (and turning off the bullets), and moving the </cut> tag to get the post to work correctly again.

ETA: Since I seem to have phrased this less clearly than I intended, what I tried to cut was formatted like this:
 

Blah blah wolf wolf.

  • One
  • Two
  • Three

Wibbly wobbly timey wimey.

The cut only took 'Blah blah wolf wolf.', and left a </cut> tag hanging out after 'wimey.'

Poll #5995 Bullet points in cut tags?
Open to: Registered Users, detailed results viewable to: All, participants: 36


This suggestion:

View Answers

Should be implemented as-is.
23 (63.9%)

Should be implemented with changes. (please comment)
0 (0.0%)

Shouldn't be implemented.
1 (2.8%)

(I have no opinion)
11 (30.6%)

(Other: please comment)
1 (2.8%)

ariestess: (Default)

[personal profile] ariestess 2011-02-14 08:34 am (UTC)(link)
Is this a case of having multiple bullet points [ex. 15] and wanting to cut 13 of the 15? If so, I've been doing that for quite some time without breaking the layout or anything.

The way I do it is this...
<ul>
<li>Blah
<li><cut text="3 more under the cut">Blah
<li>Blah
<li>Blah</cut>
</ul>

Doing it that way, it shows the first bullet point like normal, then the second shows your little bullet icon [or number, as it works the same way with ordered lists], followed by the cut text.
ariestess: (Default)

[personal profile] ariestess 2011-02-14 04:41 pm (UTC)(link)
Oh, okay. Hmm... Not sure how to do that. I've probably done multiple cuts in the past in that case...

[personal profile] faithofone 2011-02-14 08:39 am (UTC)(link)
Are you using RTE or HTML?
denise: Image: Me, facing away from camera, on top of the Castel Sant'Angelo in Rome (Default)

[staff profile] denise 2011-02-14 09:14 pm (UTC)(link)
ohhhhh, okay, gotcha. (I was wondering when I looked at this suggestion what was going on!)

Basically: the Rich Text Editor is totally broken. (Okay, not totally broken, but there's a lot of things it doesn't work well with, especially cut tags.) We have a bug open to replace it with a better version, but we haven't gotten a chance to complete the work yet.
(deleted comment)
marahmarie: (M In M Forever) (Default)

Re: Maybe it doesn't work? Am I missing anything formatting-wise?

[personal profile] marahmarie 2011-02-17 04:21 am (UTC)(link)
I'll try that since the post I linked to I'm actually going to keep and dedicate to examining any such issues now and in the future. But it's happening on lists with no text interspersed, too. Do you have an already-live example I could see (I just want to check your mark-up to see what it is that seems to make things break before I go ahead and try it, but if you don't, no big deal).
marahmarie: (M In M Forever) (Default)

Re: Maybe it doesn't work? Am I missing anything formatting-wise?

[personal profile] marahmarie 2011-02-17 04:36 am (UTC)(link)
Not wanting to wait for a reply (in a hurry tonight, sorry) I just went ahead and changed the post as you said, and yeah, it must be the rich text editor breaking that, since I'm not having a problem with the HTML editor's result. I'd still like to see the mark-up behind what you're seeing, though - I don't use rich text so I would like to see if I can see what's breaking the end-result on your end.
ninetydegrees: Art: self-portrait (Default)

[personal profile] ninetydegrees 2011-02-14 02:33 pm (UTC)(link)
It took me a while but I could reproduce this (this is in Rich Text):

-- type some text
-- click on the cut button
-- type your text inside the cut box
-- turn some of your text into a list

Creating the list generates /cut tags for some reason meaning the list is not included in the cut.

I could make it work correctly only if 1) I made the list first *then* clicked the cut button and moved the list into the cut box. 2) had some text before the list as part of the cut.
Edited (clarification) 2011-02-14 14:35 (UTC)
matgb: Artwork of 19th century upper class anarchist, text: MatGB (Default)

[personal profile] matgb 2011-02-14 05:55 pm (UTC)(link)
Which suggests to me it's a bug that ought to be fixed, not a feature request, right?
cesy: "Cesy" - An old-fashioned quill and ink (Default)

[personal profile] cesy 2011-02-14 06:49 pm (UTC)(link)
Yes, so someone will come along and move it as soon as they get a chance.
kyrielle: painterly drawing of a white woman with large dark-blue-framed glasses, hazel eyes, brown hair, and a suspicious lack of blemishes (Default)

[personal profile] kyrielle 2011-02-14 09:11 pm (UTC)(link)
Yep, someone will move it over. To post a bug report go to "Help" (one of the links in the upper right on site-schemed pages when you're logged in), then scroll to the bottom and select "Ask a Question" (after first scanning the known issues in the blue box in case it is a known issue, if you have time). For quick reference, the help link goes to: http://www.dreamwidth.org/support/
cesy: "Cesy" - An old-fashioned quill and ink (Default)

[personal profile] cesy 2011-02-14 06:49 pm (UTC)(link)
+1

[personal profile] faithofone 2011-02-14 07:51 pm (UTC)(link)
Thank you so much for replicating it. I kept trying and no matter how I did it, I couldn't make it break.
marahmarie: (M In M Forever) (Default)

[personal profile] marahmarie 2011-02-16 01:39 am (UTC)(link)
I actually brought this up on LJ (I forget who I brought it up to, but at one point it had me ripping hair out, so I'm sure I ranted .... somewhere over there about it), where we had the same problem. Awesome suggestion, so of course I voted for it. :)