Click here to Skip to main content
15,888,401 members

Bugs and Suggestions

   

General discussions, site bug reports and suggestions about the site.

For general questions check out the CodeProject FAQs. To report spam and abuse Head to the Spam and abuse watch. If you wish to report a bug privately, especially those related to security, please email webmaster@codeproject.com

 
JokeRe: NSA posting censorship? Pin
Chris Maunder26-Nov-13 14:56
cofounderChris Maunder26-Nov-13 14:56 
JokeRe: NSA posting censorship? Pin
Ron Beyer26-Nov-13 15:01
professionalRon Beyer26-Nov-13 15:01 
AnswerRe: NSA posting censorship? Pin
Yvan Rodrigues27-Nov-13 4:16
professionalYvan Rodrigues27-Nov-13 4:16 
GeneralRe: NSA posting censorship? Pin
Marco Bertschi27-Nov-13 21:47
protectorMarco Bertschi27-Nov-13 21:47 
BugDeleting solution does not remove points Pin
Ron Beyer26-Nov-13 13:04
professionalRon Beyer26-Nov-13 13:04 
GeneralRe: Deleting solution does not remove points Pin
Thomas Daniels30-Nov-13 7:55
mentorThomas Daniels30-Nov-13 7:55 
BugPosting XML in a solution removes capitalization Pin
Ron Beyer26-Nov-13 12:55
professionalRon Beyer26-Nov-13 12:55 
Bugvalid HTML in <pre> has strange effect. Pin
Qwertie26-Nov-13 6:35
Qwertie26-Nov-13 6:35 
I tried to use this code in my article:
<pre lang="cs">void Number()
{
<div style="font-size: small;">  int la0, la1;
  bool dot = false;
  la0 = LA0;
  if (la0 == '.') {
    Skip();
    dot = true;
  }
  MatchRange('0', '9');
  for (;;) {
    la0 = LA0;
    if (la0 &gt;= '0' &amp;&amp; la0 &lt;= '9')
      Skip();
    else
      break;
  }</div>
  <strong>la0 = LA0;
  if (la0 == '.') {
    if (!dot) {
      la1 = LA(1);
      if (la1 &gt;= '0' &amp;&amp; la1 &lt;= '9') {
        Skip();
        Skip();
        for (;;) {
          la0 = LA0;
          if (la0 &gt;= '0' &amp;&amp; la0 &lt;= '9')
            Skip();
          else
            break;
        }
      }
    }
  }</strong>
}

It seems that something in CodeProject tries to encode the HTML (not what I wanted), but also inside the <strong> element, something weird happens. Maybe it happens in comment boxes too, so I'll demonstrate:

C#
void Number()
{
<div style="font-size: small;">  int la0, la1;
  bool dot = false;
  la0 = LA0;
  if (la0 == '.') {
    Skip();
    dot = true;
  }
  MatchRange('0', '9');
  for (;;) {
    la0 = LA0;
    if (la0 >= '0' && la0 <= '9')
      Skip();
    else
      break;
  }</div>
  la0 = LA0;
  if (la0 == '.') {
    if (!dot) {
      la1 = LA(1);
      if (la1 >= '0' && la1 <= '9') {
        Skip();
        Skip();
        for (;;) {
          la0 = LA0;
          if (la0 >= '0' && la0 <= '9')
            Skip();
          else
            break;
        }
      }
    }
  }
}

Yup, the glitch is happening in the comment preview too. Hint: this text is not bold.
GeneralRe: valid HTML in <pre> has strange effect. Pin
bjdestiny26-Nov-13 17:32
professionalbjdestiny26-Nov-13 17:32 
GeneralRe: valid HTML in <pre> has strange effect. Pin
Nelek26-Nov-13 22:08
protectorNelek26-Nov-13 22:08 
GeneralRe: valid HTML in <pre> has strange effect. Pin
bjdestiny26-Nov-13 22:44
professionalbjdestiny26-Nov-13 22:44 
QuestionApproval mechanism changed or bug? Pin
Thanks787225-Nov-13 23:14
professionalThanks787225-Nov-13 23:14 
AnswerRe: Approval mechanism changed or bug? Pin
Chris Maunder25-Nov-13 23:17
cofounderChris Maunder25-Nov-13 23:17 
GeneralRe: Approval mechanism changed or bug? Pin
Thanks787225-Nov-13 23:27
professionalThanks787225-Nov-13 23:27 
GeneralRe: Approval mechanism changed or bug? Pin
Marco Bertschi25-Nov-13 23:47
protectorMarco Bertschi25-Nov-13 23:47 
AnswerRe: Approval mechanism changed or bug? Pin
Pete O'Hanlon25-Nov-13 23:36
mvePete O'Hanlon25-Nov-13 23:36 
GeneralRe: Approval mechanism changed or bug? Pin
Thanks787225-Nov-13 23:38
professionalThanks787225-Nov-13 23:38 
BugSorry, the item you requested could not be found. Pin
thatraja25-Nov-13 20:07
professionalthatraja25-Nov-13 20:07 
GeneralRe: Sorry, the item you requested could not be found. Pin
Thanks787225-Nov-13 22:13
professionalThanks787225-Nov-13 22:13 
GeneralRe: Sorry, the item you requested could not be found. Pin
Chris Maunder25-Nov-13 22:29
cofounderChris Maunder25-Nov-13 22:29 
SuggestionBug when posting question Pin
Mohamad M. Mohamad25-Nov-13 20:06
Mohamad M. Mohamad25-Nov-13 20:06 
GeneralNo words for this Pin
Snehasish_Nandy25-Nov-13 18:13
professionalSnehasish_Nandy25-Nov-13 18:13 
GeneralRe: No words for this Pin
bjdestiny25-Nov-13 19:02
professionalbjdestiny25-Nov-13 19:02 
GeneralRe: No words for this Pin
Thanks787225-Nov-13 19:15
professionalThanks787225-Nov-13 19:15 
GeneralRe: No words for this Pin
Snehasish_Nandy25-Nov-13 19:20
professionalSnehasish_Nandy25-Nov-13 19:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Flags: Answered

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.