|
I took a crack at it, is that better?
Thanks,
Sean Ewington
The Code Project
|
|
|
|
|
Holy cow - That was some quick bug fixing.
Hats of to you Sir!
--
I haven't dared actually submitting - But the pre blocks seems to be escaped correctly now - rather than refactored/mangled
|
|
|
|
|
Luc kindly and accurately described the problem, < > and & must be changed to < > and &
All I did was change the ">"s
Thanks,
Sean Ewington
The Code Project
|
|
|
|
|
Aaah - You changed the actual text, not the WYSIWIG editor code - Gotcha
(I was wondering how the hell you managed to fix code so quick)
Thanks a bunch!
---
It remains that the WYSIWIG editor is buggy though (as an FYI)
In all the pre blocks I've done, I've not escaped anything by hand at all, I've simply copy/pasted from my code files (this done in HTML view ofc).
The editor has then made the syntax highlighting and (partial ) escaping on the code.
But workaround noted should I run into this again.
---
Thanks all for the super speedy responses - That's truly amazing.
|
|
|
|
|
Alternatively, if you're pasting in, check the 'Encode "<" (and other HTML) characters when pasting' in the Options below the message.
|
|
|
|
|
Thanks for the tip!
Hadn't really noticed that toggle.
It's on by default - which explains why I was struggling (not understanding) what was going on when sometimes pasting bits and pieces.
Seeing as the top of the editor window here has 3 distinct buttons for <,> and & respectively - Wouldn't it be nice with one for "encode selected text" as well
I mean, if I'm writing stuff, say about html formatting, I'd end up using a lot of <'s and >'s, and having to move to the mouse to click those buttons for each (or writing the escape code by hand) is a tad cumbersome.
Just writing normally, and then when done mark up the text, and click that button would be sweet.
Not a huge priority I agree - Just a "nice to have".
- workaround is of course to just type your text normally, and then ctrl+a/ctrl+x/ctrl+c (with the encode option checked) - Which I just did
|
|
|
|
|
I have updated my tip/trick on PRE tags, link is in my sig.
Luc Pattyn [Forum Guidelines] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.
|
|
|
|
|
Hey guys,
I was just going through some of my answers in the Q&A and noticed that this one had been marked as the correct answer and then unmarked. There is nothing wrong with the points allocation, but I find it curious that (at least for me) the answer still has the "accepted" green background? Is this behavior what was intended? If not, my QA's would be proud of me for finding a bug instead of just creating them.
I wasn't, now I am, then I won't be anymore.
|
|
|
|
|
The Beginners Hardware and Device Programming Competition was supposed to end on February 28th but I haven't heard anything about it. I noticed that the hardware zone seems to have been completely removed from the site as well and the only way I can even see that the competition existed is by using the link I saved from when I first saw it. Was the competition cancelled?
|
|
|
|
|
K-Sid?
I thought you had been upgraded to L-Sid[^]
------------------------------------
I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
CCC Link[ ^]
Trolls[ ^]
|
|
|
|
|
"a military leader and diplomat who, after being exiled, conquered and governed the city of Valencia." I wish.
|
|
|
|
|
The Hardware Zone was down in error. We had extended the Hardware competition to allow some more entrants, and wanted to wait a bit to allow the later submissions a fair chance in the voting. The winners will be decided this week
Thanks,
Sean Ewington
The Code Project
|
|
|
|
|
Thanks. Glad to hear the Hardware Zone was an error. I was starting to worry that it was abandoned.
|
|
|
|
|
Google translate gives me this for the Vietnamese translation of a comment on a native Vienamese question.
Ngay cả sau khi Google Translate đã có một cố gắng tốt, ý nghĩa của câu hỏi của bạn không rõ ràng. Vui lòng chỉnh sửa câu hỏi của bạn và thử lại, hoặc tìm một trang web bằng ngôn ngữ của bạn.
When viewed as a comment, it looks like this:
Ngay c? sau khi Google Translate dã có m?t c? g?ng t?t, ý nghia c?a câu h?i c?a b?n không rõ ràng. Vui lòng ch?nh s?a câu h?i c?a b?n và th? l?i, ho?c tìm m?t trang web b?ng ngôn ng? c?a b?n.
Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.
Manfred R. Bihy: "Looks as if OP is learning resistant."
|
|
|
|
|
Can you please send me the link to the comment?
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
Here: http://www.codeproject.com/script/comments/View.aspx?cmt=67836[^] but it won't be any help, I removed the translation when I realised it wouldn't be readable in Vietnamese.
Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.
Manfred R. Bihy: "Looks as if OP is learning resistant."
|
|
|
|
|
Thanks.I'll add this to the bug list and get it fixed.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
Hello,
Tow small issues:
1. It is impossible to upvote / downvote any of the messages from my BB phone. Simply the links are not there... And I can see my name on top so I've logged in.
2. Apart of that it would be tastic to have the text window not as wide as it is today as it makes it really difficult to write any message from the phone.
Thanks for the great job with CP!
|
|
|
|
|
I have the BB Torch2, I turn sideways and get the bigger screen, makes it easier.
------------------------------------
I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
CCC Link[ ^]
Trolls[ ^]
|
|
|
|
|
Curve 3G here... I can turn it sideways but then it gets difficult to use...
Does your phone works well? was tempted to get it but I was so happy with my old curve that I decided to stick there.
|
|
|
|
|
I Love it, it works really well, but I still miss my Storm.
------------------------------------
I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
CCC Link[ ^]
Trolls[ ^]
|
|
|
|
|
Wow! Never used neither seen one, but some time ago I read at crackberry bad reviews for the storm... I do have bad experiences with touch screens in old phones and reading that bad review put in my mind the idea that ths storm was a bad phone and that bb did made a mistake making it. It has surprised me to read that you missed it. In which issues the storm is better than the torch?
|
|
|
|
|
I had the Curve II. I tried playing around with CodeProject to make it Blackberry friendly, since that was my only offsite access some days, and finally realised I was fighting a losing battle. I bought an iPhone.
Joking aside, we don't have the resources at the moment to optimise for the old blackberry browser. We sunk a ton of dev time ensuring the site functions with no javascript because of the Blackberry JAaascript engine being best turned off since it was that awful. BB OS 6 uses a WebKit based browser. I can't recommend enough that Blackberry users upgrade if they wish to have a device that can browser the web sensibly.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
OK, this is not a really important issue... Let's wait until there's an upgrade protocol established for my phone.
Thanks for answering Chris.
|
|
|
|
|
It looks like you can create a question with a very short subject: certainly less than 30 characters.
But when you edit the question, you are prevented from updating it, because the subject length is too short. Up it to 30, and it works.
Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.
Manfred R. Bihy: "Looks as if OP is learning resistant."
|
|
|
|