|
Fixed in next release. Thanks.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
Hi there! First of all, excellent work on all site features and in the revamped interface CodeProject has never been so great! (erm, actually, it has always been great, but the fact it is ever evolving makes it even nicer)
I would like to report an issue with the online article submission wizard, particularly in the article editor. Everytime I open the draft of one of my articles, it gets a " <br />" added after each of its lines. It is funny because if I close and reopen it 10 times, I will have 10 line breaks inserted between the lines, making everything giantly spaced.
This only happens if I close the article editor and reopen it. It doesn't happen when changing from HTML view to design view, or anything else I tried. To sidestep this issue I am currently saving the HTML of my current draft in Notepad I am using Chrome, if this is relevant.
Please keep up the good work!
Best regards,
Cesar
|
|
|
|
|
César de Souza wrote: This only happens if I close the article editor and reopen it
I'm trying to replicate and not having any luck here.
When you say "close the editor" do you mean you close the browser window or hit 'Cancel'? When you reopen are you clicking the "Update my article" link each time?
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
Sorry Chris, I should have provided a more detailed description. Here it happens whenever I do the following steps:
- Create an article
- Switch to HTML view
- Type in the following (with the extra line breaks between the p tags):
<p>test1</p>
<p>test2</p>
<p>test3</p>
- Save the draft (pressing the green button on the right)
- Reload the page
When the page finishes reloading, there will be an extra line break after each line. If I go to the HTML view it will read:
<p>test1</p>
<br />
<p>test2</p>
<br />
<p>test3</p>
<br />
Perhaps this could be by design, but it seems this happens because I like to organize the HTML code so it gets easier to read in case I have to manually edit it (such as when configuring images or positioning). Please let me know if this is indeed a bug or I am doing something wrong.
|
|
|
|
|
Hi Chris,
Sorry to bother, but did you had success replicating the issue? I've just noticed it still occurs. I can create a video or provide more info if you need. If you can peek into unpublished articles perhaps you could also see the article I am writing which has this issue.
Best regards,
Cesar
|
|
|
|
|
I've just tried again and, again, I'm failing to replicate.
1. Open article in the editor.
2. Check HTML, ensure no <br>'s
3. Switch back to "Design" mode and hit Save Draft.
4. Reload editor with the same article
5. Check HTML. No <br>'s are ever found.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
Hi Chris,
I've created an extremely detailed specification on how I am triggering this. Sorry if it seems to much, but I hope it leaves no doubts on what I did.
1. Open Codeproject.
1.1 Hover your mouse over "articles". A menu should appear.
1.1 When it appears, Click the link "Submit an article or tip".
2. The Submit a new Article page will be shown.
2.2 Click the button "Submit an Article" (on the left, in brown)
3. The Article Submission Wizard will appear.
3.1 Write anything as the article's title, such as "anything".
3.2 In the designer, click the HTML button to go to HTML view.
3.3 Remove all text from the template there (Ctrl-A, Backspace)
Now type exactly those words
<p>Hey</p>
<p>I've just met you</p>
<p>And this is crazy</p>
<p>But there will be extra spaces</p>
<p>between these sentences</p>
(note that I've actually hit 'enter' right after each </p>).
3.4 Now click the button "Save Draft" (on the right, in green)
3.5 Hover the mouse on your username, on the right top of the site.
3.6 A menu will appear. Click on the link "My Articles"
3.7 (optional) A popup may appear asking if you would like to lose any unsaved text. I answer "leave this page". I am unsure if this is a Chrome-only thing.
4. The Articles by Chris Maunder page will appear.
4.1 Find your recently created article. Mine was called "anything", located under the Uncategorised Articles, General section.
4.2 Click on its name.
5. Your article will appear, together with a notice: This is an auto-saved draft copy of the new unpublished article created by the submission wizard. You can either discard this draft or continue to work on it.
5.1 Choose to "work on it".
6. The Article Submission Wizard will appear.
6.1 Click on the HTML button to the see the HTML code
Here it reads:
<p>Hey</p>
<br />
<p>I've just met you</p>
<br />
<p>And this is crazy</p>
<br />
<p>But there will be extra spaces</p>
<br />
<p>between these sentences</p>
In fact, this would also have been noticeable on step 5. The article would have open with unusually large spaces between the sentences. For some system specifications, I am running Chrome 22.0.1229.94 m on Windows 7 64 bits.
Best regards,
Cesar
modified 7-Nov-12 18:10pm.
|
|
|
|
|
This question[^] has managed to elude the pretty formatting. Not that it looks ugly per se, but definitely weird. No doublt there are some stray <tags> in there.
(Don't think it's relevant, but FF 15.0.1, Chrome 22.0.1229.79m)
Cheers,
Peter
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
|
|
|
|
|
It's been put into a 2-column table. Whether by accident or design is impossible to tell.
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
Fixed.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
http://www.codeproject.com/Messages/4388296/?ove-print-eval-read.aspx[^] Goes to the latest messages page because of the lambda symbol that was replaced by a question mark. I think some reencoding is needed for this one.
I think computer viruses should count as life. I think it says something about human nature that the only form of life we have created so far is purely destructive. We've created life in our own image.
Stephen Hawking
|
|
|
|
|
Where did you see the link to that?
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
The home page.
I think computer viruses should count as life. I think it says something about human nature that the only form of life we have created so far is purely destructive. We've created life in our own image.
Stephen Hawking
|
|
|
|
|
Hello Guys,
you are doing a good job . I usually travel 3hours every day . So in that time I will open my Android mobile and login to code project and answer to the question which I know. Before Login controls was visible on the page ,but now you have kept it On Mouse Over event . This give me problem (I cannot login)to login into my account through Mobile . So please do some alternate for this.
All the best
|
|
|
|
|
Funny, it's there for me. Have you tried scrolling up or zooming in and then scrolling?
|
|
|
|
|
Which flavour of Android? On 4.0 it's working for me. Just tap the Sign-in link at the top right and the sign-in dialog opens.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
I'd never noticed the FAQ button beside "New Message" in the Lounge before - good idea.
So I had a quick look at the FAQ.
Um. It might be an idea to update it so it matches the forum layout?
For example:
4. What does the 'View' drop-down mean? Can I view just the message thread headers instead of all messages?
The view dropdown provides you with different options for viewing messages: There is no "View" drop-down - it's now "Layout" - and the options it goes on to talk about have mostly been superseded.
Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water
|
|
|
|
|
All updated. Thanks for the catch!
Thanks,
Sean Ewington
The Code Project
|
|
|
|
|
When searching for messages, I get some results from 2004 and 2005. Clicking on them takes me to the first page of the Lounge and not the page in question. If these pages aren't meant to be accessible anymore, they shouldn't appear in the search results. Otherwise, this is a bug.
Also, it appears clicking on them switches my view from Noraml to Open All.
|
|
|
|
|
It has always been thus, and I am sure a reason has been given, that no doubt will be given again by someone who knows what they are talking about.
IIRC it is something to do with fetching the real result taking too long so it gives up and just gives you the first page instead.
Every man can tell how many goats or sheep he possesses, but not how many friends.
Shed Petition[ ^]
|
|
|
|
|
Hence my comment. If it can't fetch it, don't display it. CP shouldn't tease us like that.
|
|
|
|
|
Yeah - it's a load issue, and yes, we should fix it. One way or another.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
Why can't existing articles be added as alternatives to other ones? Would be a nice feature
|
|
|
|
|
Interesting idea.
Do you have a specific example?
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|