Euphoria Ticket #821: eudoc formats "signature:" when inside <eucode></eucode> and {{{ }}}

A simple test file:

--** 
-- <eucode> 
-- this is a bug: 
-- bug: 
-- 
-- patch bug~: 
-- patch~: 
-- 
-- the fix is : 
-- </eucode> 

produces this result:

===== this is a bug: 
===== bug: 
 
patch bug~: 
patch~: 

A `signature:` should not be formated inside <eucode></eucode> or inside {{{ }}} .

Using `signature~:` does not prevent this error.

Writing `the fix is :` (adding a space before :) makes things even worse.

This problem occurs in console.e for the display procedure example.

Details

Type: Bug Report Severity: Textual Category: Documentation
Assigned To: mattlewis Status: Fixed Reported Release:
Fixed in SVN #: View VCS: none Milestone: 4.0.6

1. Comment by DerekParnell Nov 20, 2012

I don't see the problem. What should that example produces?

2. Comment by mattlewis Nov 20, 2012

I see it. Take a look at the entry for display in the manual, and look at the example output:

Some plain text 
Your answer:cat 
==== Your answer: 
Your answer:dog 

If you look in std/console.e at the source, however, you'll note that there are no equals signs before the second "Your answer:" line. I just tried this, and the equals signs are not there in std/console.e, but are in euphoria.txt, so this looks like an issue with eudoc.

3. Comment by mattlewis Nov 21, 2012

See: hg:eudoc/rev/b09d630d1d76

changeset: 60:b09d630d1d76 tag: tip user: Matt Lewis date: Wed Nov 21 09:47:57 2012 -0500 files: common.e eudoc.ex description:

  • ignore trailing colon inside of pre blocks
  • fixes ticket 821

Search



Quick Links

User menu

Not signed in.

Misc Menu