You are not logged in.

#1 2013-09-24 11:03:43

zoqaeski
Member
From: /earth/australia/.
Registered: 2009-09-30
Posts: 132

[SOLVED] [Wiki] X KeyBoard extension formatting error

Hi all

I’m trying to amend the wiki to include a fix for the misplaced Insert and Print_Sc keys on HP laptop keyboards, and inserting the code results in a weird formatting (underlines that should not be there). This is what I type:

On some HP laptop keyboards, the above does not work. Instead, the keycodes themselves must be redefined:

    partial xkb_keycodes "insert" {
        alias <I118> = <IN?>;
        <INS>  = 218;
        <I218> = 118;
    };

And this is what I get:
9vEGkV2.png

What am I doing wrong? I can’t spot any formatting errors according to the manual.

Last edited by zoqaeski (2013-09-25 11:08:36)

Offline

#2 2013-09-24 12:03:27

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: [SOLVED] [Wiki] X KeyBoard extension formatting error

<INS> is an HTML tag recognized by MediaWiki. You'll have to escape the <> chars as

&lt;INS&gt;

aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#3 2013-09-24 12:29:15

kynikos
Wiki Admin
Registered: 2010-12-28
Posts: 170

Re: [SOLVED] [Wiki] X KeyBoard extension formatting error

(Just a little tip for lazy people, escaping the < is enough smile )

&lt;INS>

Offline

#4 2013-09-25 11:08:14

zoqaeski
Member
From: /earth/australia/.
Registered: 2009-09-30
Posts: 132

Re: [SOLVED] [Wiki] X KeyBoard extension formatting error

Ah thanks fixed it.

Offline

Board footer

Powered by FluxBB