|
I've just revisited my previous posts in Quick Questions & Answers and found that the rendering of source HTML code has changed.
In the past, double line breaks in the source was rendered as line break. The same posts viewed now don't have them (or there is no an vertical intervals between them, I'm not quite sure).
If I enter explicit <br/> between lines, it works properly, but the problem is: what to do with the already posted material? It was not designed to be rendered the way it looks now.
Thank you for attention to this matter. Best wished in New Year!
—SASergey A Kryukov
|
|
|
|
|
More than likely this is related to the bug below.
I will dig in. I can't replicate PIEBALDconsult's issue, but maybe if I focus on the line breaks (I know the code to fix) it will fix his issue too.
Hope you had a good break yourself!
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
Chris,
Thank you for this reply. After some more observations, it looks like modified "br". A line break automatically adds a "br" tag, as it probably was before. I checked it up on my old posts. Maybe new code is better, because repeated line break is accumulated in just one "br" break (is it so? you could check it up, as to test it I would need to create a fake question/answer and remove it).
The only problem is that before "br" was probably rendered by a style with 1 em vertical interval (margin), and not it is not.
Could something be done to preserve old rendering of the past posts, as those posts are used, referenced, etc.?
Thank you,
—SA
P.S.: to make this post rendered properly, I've used "p" tags. It would not be a problem; the problem is rendering of past posts designed to the old rendering style.
Sergey A Kryukov
|
|
|
|
|
OOPS! It looks like old style is back. Did you changed anything when I was editing my previous post?
—SASergey A Kryukov
|
|
|
|
|
No! It looks like now the stile in this forum is different form Questions & Answers where the vertical intervals between lines are zeros.
In this forum, multiple line breaks cause multiple "br".
See below:
—SASergey A Kryukov
|
|
|
|
|
When I edit questions this morning, the formatting for the "text" part won't keep blank lines. It moves everthing up instead. It only keeps the blank lines if I have the "plain text" checkbox checked.
I know you have your hand full and this might have been mentioned already.
-- cheers
Just along for the ride.
"the meat from that butcher is just the dogs danglies, absolutely amazing cuts of beef." - DaveAuld (2011) "No, that is just the earthly manifestation of the Great God Retardon." - Nagy Vilmos (2011)
"It is the celestial scrotum of good luck!" - Nagy Vilmos (2011)
|
|
|
|
|
Just edited this question[^] and had the same issue with the line breaks.
In addition to that the indent & unindent feature also seems to be broken.
Regards,
Manfred
"With sufficient thrust, pigs fly just fine."
Ross Callon, The Twelve Networking Truths, RFC1925
|
|
|
|
|
I've fixed the issue on dev and will update the site this morning.
As an aside, may I say it's a pleasure conversing with someone so polite. You're a gentleman, SA.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
Hi Chris,
First, thank you very much for your nice words.
By the moment I've read your message, I did not see that it was fixed. Today, I re-tested the rendering on few old posts taken randomly; it looks like they appear as expected.
Thank you very much for taking care of those issues.
Cheers,
—SASergey A Kryukov
|
|
|
|
|
It looks like indenting in pre blocks has taken the day off.
(Win7, IE8)
|
|
|
|
|
Testing:
This is not indented.
This is space indented.
this is tab indented
Seems to be working for me...
[Edit: Found and fixed the issue. It was a QA thing only]
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
modified 4-Jan-12 8:49am.
|
|
|
|
|
|
Maybe it's just under Tips? Articles seem OK.
|
|
|
|
|
Try:
string s = "12345678";
string toAlpha = s.Substring(0, 4);
string toDigit = s.Substring(4);
StringBuilder sb = new StringBuilder(8);
foreach (char c in toAlpha)
{
sb.Append((char)('A' + (c - '0')));
}
sb.Append(toDigit);
string output = sb.ToString();
In Q&A!
Combination of 4 alphabet character and 4 digits[^]
Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water
|
|
|
|
|
I just checked a couple of my tips and they still show the same. IE8, and I did a Ctrl-F5 refresh as well.
TextBox cursor position[^] for instance.
|
|
|
|
|
My apologies. I answered a couple of other related bugs to this one with "fixed, and will upload the code this morning" but didn't add the "will upload..." bit to my quick reply here.
Soon.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
OK, I'll work on the programming challenge while I wait.
|
|
|
|
|
Ah, I see it's fixed now, thanks.
|
|
|
|
|
Hi Chris, I think you know why I am saying this. Yes, it's long time that the blog posts were not fetched and your servers need a pull once again. Not only my posts, but there are some other people too whose posts were not fetched for some time.
|
|
|
|
|
Yep, mine too. I have posted a blogpost on yesterday.
|
|
|
|
|
It's pulling blogs. I see 2 in the pending queue from 5 minutes ago.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
Chris Maunder wrote: I see 2 in the pending queue from 5 minutes ago.
Don't know why didn't it fetch my post yet!!!
|
|
|
|
|
Yes, the post is finally up in the site. Looks like after the site downtime today, it fetched the blog post.
|
|
|
|
|
While I am used to it by now, I've found that every day several users new to the Q&A section don't grasp or properly use the right 'action links': they post a new solution instead of improving their question using the Improve question link in bold green at the lower right of the question, or instead of replying to a solution using the Have a question or Comment link in blue, inside a yellow button-like box at the lower left of the solution, or instead of replying to a comment using the Reply link which is almost invisible (unless you mouseover) at the top right of the comment.
I suppose that some people just don't put enough thought into what link to use, but I feel that this totally inconsistent style of interacting with a question or other elements on a Q&A page adds a lot to the confusion! Apart from that, it looks like three web developers from four independent teams had at least five different opinions on how to implement ways to best confound new users.
To improve matters, my suggestions are:
1. Use labels that indicate the actual action in a more direct way, rather than pose a question, e. g. 'Reply' rather than 'Have a question or comment?'. And use these labels consistently.
2. Consistently use the same color and style for links used to edit or reply to a question, solution, or reply. Preferably one that is actually visible and recognizable as an element that is supposed to be interacted with, without having to mouseover. Personally, I find button-like frames (desktop application style), and blue-colored text (hyperlink style)to be most intuitive.
3. Put them all at the same relative position, e. g. at the bottom left of the element to be interacted with.
|
|
|
|
|
It would be very helpfull if we can provide option to draw a table ? so that member can draw a table and represent the answer they want . Just like final table result for query related to database
|
|
|
|