Plugin Directory

Opened 12 years ago

Closed 12 years ago

#2175 closed defect (invalid)

Jetpack post by email truncating at lines with multiple hyphens

Reported by: fncll's profile fncll's profile fncll Owned by:
Priority: normal Severity: normal
Plugin: not-listed Keywords:
Cc:

Description

Post by email is resulting in truncated posts at the first instance of multiple hyphens. This is particularly problematic if one uses Markdown formatting.

Not all the time, but in predictable cases.

For instance, the following email message results in a post truncated after line 1:

A header
--------

Then some more

Similarly, the following gets truncated at the first "row" divider of hyphens:

A markdown table

| Fruit       | Color           | Note        | 
| ----------- | --------------- | ----------- |  
| Bananas     | Yellow          | Monkeys!    | 

Note: not ALL instances of multiple hyphens are problematic, the following email post works fine:

Some stuff followed by a hard rule

---

Bam.

Change History (2)

#1 @fncll
12 years ago

I assume this is related to the code to delete email signatures. However, multiple hyphens occur in markdown text frequently (headers, hard rules, em and en dashes, etc), which is an explicit option with Jetpack!

Seems to me the best option would be for signature stripping to be limited to ONLY two dashes at the BEGINNING of a line followed by an EOL (or SPACE).

Last edited 12 years ago by fncll (previous) (diff)

#2 @fncll
12 years ago

  • Resolution set to invalid
  • Status changed from new to closed

Sorry, moved to the Github repo issues list.

Note: See TracTickets for help on using tickets.