Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This

...

This section of the Project mapping allows user to define the default HTML conversion rules of the inbound mail content. JEMHC converts HTML into a less feature rich 'wiki markup', this supports some translation of HTML features like headings, basic tables, but does not have the 'deep' compatibility eg, with for example nested tables or background/ text colour options. This is a limitation of wiki markup content. JEMHC can attach the raw HTML of the content as an attachment if required.

...

Setting

Options

Table

  • None
    No extra white space formatting is added.

  • Newline-line-before
    Extra new line white space formatting is done before the tag.

  • Before and after
    Extra new line white space formatting is done before the tag and after the ending tag.

  • Newline-line-after
    Extra new line white space is done after the end tag.

Div

Paragraph

Span

Image

Break

Rich Formatting

Note

Bug: Pre (PRE)

<pre> tag currently renders html within the tag.

...

Bug: Image (IMG)

...

Note

Bug: Image Attributes

Wiki Markup attributes are not applied.

Setting

Options

Table (TABLE)

  • None
    No conversion and outputs table as text

  • Wiki
    Converts HTML to Wiki Markup Table

Link (A)

  • None
    Outputs the link as text

  • Inline
    Inline the link and clickable to

  • Summary
    Add a numbered reference with link text. Then At the end of the description contains the a clickable link with the corresponding numbered reference.

Pre (PRE) 🐛

  • NoneDoesn’t do anything at the moment

  • No format
    Doesn’t do anything at the moment

Blockquote (BLOCKQUOTE)

  • None
    Added as text with no formatting

  • Quoted
    Added as Wiki Markup quote block

Code (CODE)

  • Code
    Text in Tag is converted into code block

  • Code-with-title
    Unsure what this does seems to add a heading with “…”Text in Tag is converted into code block with title header

  • No Format
    Same result as first option?Code is added to a No format block

Heading Level (H1, H2, etc)

  • None
    All headings are output as normal text with no heading format

  • h1 - h5
    Set the heading level limit. Any level that is higher than the limit is treated as None option.

Ordered List (OL)

  • None
    Added as text with no formatting except a new line for each list item.

  • On
    Ordered List will output a numbered list
    Unordered List will output a bullet point list

Unordered List (UL)

Horizontal Rule (HR)

  • None
    tag is ignored and not treated with no output

  • Textline
    A line is created using “-” character

  • With-no-whitespace
    Line is added to the description which spans the full width

  • With-whitespace
    Similar to With-no-whitespace but whitespace is added at the end of <hr> tag.

Image (IMG) 🐛

Right now all Full-size and thumbnail all seem to do the same thing

  • Full-size
    Inline the full size image to the description
    (files with cid source fail to load)

  • See-attached
    Will add a “(See attached)”
    (warning) This does not work with images with url sourceURL source. This is intended for inline images where their source is from email attachment.

  • Thumbnail
    Inline a thumbnail of the imageFull-size (exclude external URL) 🐛
    This doesn’t seem to work just excludes all images from being inlined regardless of source type.See-attached (exclude external URL) 🐛
    same as full-sizeThumbnail (exclude external URL) 🐛
    same as full-size

Image Attributes 🐛 🐛

HTML Attributes and Wiki Markup attributes don’t affect the imagesthat are specific to to the IMG tag as per: https://www.w3schools.com/tags/tag_img.asp

Text Formatting

Whitespace bug

There is a known bug which affects text tags.
Note
Info

If there is no white space between a tag and another text element then the tag result will be output as text without rendering desired outcome.

For example: <b>text</b> will output \* text \* instead of text.

Note

Text Color support and <strike> tag

Text color and strike tag are not currently compatible.

Setting

Options

Superscript(SUP)

  • On
    When enabled then the given text modifying tag applies.

  • Off
    the tag will be ignored and removed and the text inside the tag will be output

Subscript(SUB)Text Colour

Bold(B)

Italic(I)

Underline (U):

Strike (STRIKE):