DT Site problem

DT Site problem

tangerinetangerine Posts: 3,143Questions: 27Answers: 366

Code examples are displaying the HTML needed for displaying code.

<span class="token function">

etc.
Seems to apply across the board.

Replies

  • colincolin Posts: 12,910Questions: 0Answers: 2,200

    Could you point to an example, please, it seems OK on this one? I tried a few others and they all seems to be behaving as expected too.

    Colin

  • tangerinetangerine Posts: 3,143Questions: 27Answers: 366
    edited February 18

    Colin, your example is showing me this (with Chrome):

    <span class="token function">$</span><span class="token punctuation">(</span>document<span class="token punctuation">)</span><span class="token punctuation">.</span><span class="token function">ready</span><span class="token punctuation">(</span><span class="token keyword">function</span><span class="token punctuation">(</span><span class="token punctuation">)</span> <span class="token punctuation">{</span>
        <span class="token function">$</span><span class="token punctuation">(</span><span class="token string">'#example'</span><span class="token punctuation">)</span><span class="token punctuation">.</span><span class="token function">DataTable</span><span class="token punctuation">(</span> <span class="token punctuation">{</span>
            dom<span class="token operator">:</span> <span class="token string">'Bfrtip'</span><span class="token punctuation">,</span>
            buttons<span class="token operator">:</span> <span class="token punctuation">[</span>
                <span class="token string">'copy'</span><span class="token punctuation">,</span> <span class="token string">'csv'</span><span class="token punctuation">,</span> <span class="token string">'excel'</span><span class="token punctuation">,</span> <span class="token string">'pdf'</span><span class="token punctuation">,</span> <span class="token string">'print'</span>
            <span class="token punctuation">]</span>
        <span class="token punctuation">}</span> <span class="token punctuation">)</span><span class="token punctuation">;</span>
    <span class="token punctuation">}</span> <span class="token punctuation">)</span><span class="token punctuation">;</span>
    

    I remember another poster seeing this a while ago, but this is a first for me.
    Also, the search box input doesn't do anything - possibly related.

    UPDATE:
    1. Edge is showing me the correct code.
    2. I was using the WAVE Chrome browser extension on my own pages this morning. Why their defect would show up in here for me I can't imagine, but it seems a likely cause.

  • kthorngrenkthorngren Posts: 14,117Questions: 25Answers: 3,328

    This might be the thread you are referring to. Sounds like it came down to a browser extension.

    Kevin

  • colincolin Posts: 12,910Questions: 0Answers: 2,200

    Ah thanks, Kevin, I was just trying to search for that one!

    Yep, it was that 'Axe' extension - are you using it too?

    Cpolin

  • tangerinetangerine Posts: 3,143Questions: 27Answers: 366
    edited February 18

    Yep, thanks Kevin. I remembered it was a browser extension. Couldn't remember which one and guessed WAVE as I was using it. Couldn't search as search input wasn't doing anything for me!

    Colin, I did look at Axe yesterday. Never again though!
    Search input now working btw. No idea what that was about.

    Anyway, thanks guys.

    UPDATE: Axe removed, problem gone.

  • colincolin Posts: 12,910Questions: 0Answers: 2,200

    Tops, glad all sorted :)

Sign In or Register to comment.