Cannot Underline

cantorsdust
edited November 2018 in Campaign Portal Building

I'm having a problem getting underlining to work in my wiki formatting.

I am using Textile 4 with the CkEditor.  I highlight text to underline, then hit the U button on the toolbar above.  In the WYSIWYG editor, the text will show up as underlined.  But when the actual page is displayed, the text is not underlined and instead shows the <u> </u> tags.

This picture shows what I see in the editor:

From this code:


&lt;h2&gt;&lt;u&gt;Review the characters&lt;/u&gt;&lt;/h2&gt;

&lt;p&gt;Void Master Doran Ku&lt;br /&gt;
Explorator Traxan Hirogenitor&lt;br /&gt;
Astropath Transcendant&amp;nbsp;Sigmund Erasmus&lt;br /&gt;
Navigator Telfina Durun&lt;br /&gt;
Seneschal Jean H Kamen, Esq&lt;br /&gt;
Arch-Militant Katherine Carpenter&lt;br /&gt;
Arch-Militant LN-1402&lt;br /&gt;
Rogue Trader Bastanus Corvo&lt;/p&gt;

But when I save it, the actual page looks like this:

What I'm seeing is very much not what I'm getting.  Any help?

 

Edit: I'd also like to note that the "code snippet" I used on this post also did not match the editor.  I posted this:

In the code snippit box, and that's not what came out.

Post edited by cantorsdust on

Comments

  • cgregory
    cgregory
    Posts: 780

    None of us veterans use the CkEditor. It simply is not fully implemented yet. Textile 4 parser with the Textile editor is what we generally use.

    Instead of u tags use + signs around what you want to underline.

     

     

     

    They are among us!

    image

                       XCom: Defiance - Campaign of the Month November 2016

     

     

  • cgregory
    cgregory
    Posts: 780

    Of course that leads to the issue of the plus sign sometimes underlining stuff you did not want it to underline. In which case you can tell the textile parser to ignore + signs and instead use a u class to underline things.

    CSS

    /* + Sign Underline Functionality - Turns It Off */

    ins { color:inherit; text-decoration:inherit;}

    ins:before { content:'+';}

    ins:after { content:'+';}

    .u {text-decoration: underline;}

    HTML 

    In this sentence <span class="u">underline me</span>.

     

    They are among us!

    image

                       XCom: Defiance - Campaign of the Month November 2016

     

     

Sign In or Register to comment.

March 2024
Wrath of the Highborn

Read the feature post on the blog
Return to Obsidian Portal

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Discussions