You are viewing a plain text version of this content. The canonical link for it is here.
Posted to infrastructure-issues@apache.org by "Miles Libbey (JIRA)" <ji...@apache.org> on 2010/12/08 00:01:10 UTC
[jira] Created: (INFRA-3274) markdown conversion produces
lots of spans
<pre> markdown conversion produces lots of spans
------------------------------------------------
Key: INFRA-3274
URL: https://issues.apache.org/jira/browse/INFRA-3274
Project: Infrastructure
Issue Type: Bug
Security Level: public (Regular issues)
Components: CMS
Reporter: Miles Libbey
When converting
https://svn.apache.org/repos/asf/trafficserver/site/branches/ats-cms/content/docs/trunk/sdk/ASimplePlugin.en.mdtext
to
https://svn.apache.org/repos/infra/websites/staging/trafficserver/trunk/content/docs/trunk/sdk/ASimplePlugin.en.html
this line:
gcc -g -Wall -fPIC -o hello-world.o -c hello-world.c
became
<div class="codehilite"><pre><span class="n">gcc</span> <span class="o">-</span><span class="n">g</span> <span class="o">-</span><span class="n">Wall</span> <span class="o">-</span><span class="n">fPIC</span> <span class="o">-</span><span class="n">o</span> <span class="n">hello</span><span class="o">-</span><span class="n">world</span><span class="o">.</span><span class="n">o</span> <span class="o">-</span><span class="n">c</span> <span class="n">hello</span><span class="o">-</span><span class="n">world</span><span class="o">.</span><span class="n">c</span>
Would expect the output to be closer to
<div class="codehilite"><pre>gcc -g -Wall -fPIC -o hello-world.o -c hello-world.c</pre></span>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (INFRA-3274) markdown conversion produces
lots of spans
Posted by "#asfinfra IRC Bot (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/INFRA-3274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12969163#action_12969163 ]
#asfinfra IRC Bot commented on INFRA-3274:
------------------------------------------
<joes4> you can disable the codehilighter by prefixing your code block with an indented ":::text" line
> <pre> markdown conversion produces lots of spans
> ------------------------------------------------
>
> Key: INFRA-3274
> URL: https://issues.apache.org/jira/browse/INFRA-3274
> Project: Infrastructure
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: CMS
> Reporter: Miles Libbey
>
> When converting
> https://svn.apache.org/repos/asf/trafficserver/site/branches/ats-cms/content/docs/trunk/sdk/ASimplePlugin.en.mdtext
> to
> https://svn.apache.org/repos/infra/websites/staging/trafficserver/trunk/content/docs/trunk/sdk/ASimplePlugin.en.html
> this line:
> gcc -g -Wall -fPIC -o hello-world.o -c hello-world.c
> became
> <div class="codehilite"><pre><span class="n">gcc</span> <span class="o">-</span><span class="n">g</span> <span class="o">-</span><span class="n">Wall</span> <span class="o">-</span><span class="n">fPIC</span> <span class="o">-</span><span class="n">o</span> <span class="n">hello</span><span class="o">-</span><span class="n">world</span><span class="o">.</span><span class="n">o</span> <span class="o">-</span><span class="n">c</span> <span class="n">hello</span><span class="o">-</span><span class="n">world</span><span class="o">.</span><span class="n">c</span>
> Would expect the output to be closer to
> <div class="codehilite"><pre>gcc -g -Wall -fPIC -o hello-world.o -c hello-world.c</pre></span>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (INFRA-3274) markdown conversion produces
lots of spans
Posted by "#asfinfra IRC Bot (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/INFRA-3274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12969132#action_12969132 ]
#asfinfra IRC Bot commented on INFRA-3274:
------------------------------------------
<joes4> that's just how the codehilighter works
> <pre> markdown conversion produces lots of spans
> ------------------------------------------------
>
> Key: INFRA-3274
> URL: https://issues.apache.org/jira/browse/INFRA-3274
> Project: Infrastructure
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: CMS
> Reporter: Miles Libbey
>
> When converting
> https://svn.apache.org/repos/asf/trafficserver/site/branches/ats-cms/content/docs/trunk/sdk/ASimplePlugin.en.mdtext
> to
> https://svn.apache.org/repos/infra/websites/staging/trafficserver/trunk/content/docs/trunk/sdk/ASimplePlugin.en.html
> this line:
> gcc -g -Wall -fPIC -o hello-world.o -c hello-world.c
> became
> <div class="codehilite"><pre><span class="n">gcc</span> <span class="o">-</span><span class="n">g</span> <span class="o">-</span><span class="n">Wall</span> <span class="o">-</span><span class="n">fPIC</span> <span class="o">-</span><span class="n">o</span> <span class="n">hello</span><span class="o">-</span><span class="n">world</span><span class="o">.</span><span class="n">o</span> <span class="o">-</span><span class="n">c</span> <span class="n">hello</span><span class="o">-</span><span class="n">world</span><span class="o">.</span><span class="n">c</span>
> Would expect the output to be closer to
> <div class="codehilite"><pre>gcc -g -Wall -fPIC -o hello-world.o -c hello-world.c</pre></span>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (INFRA-3274) markdown conversion produces lots
of spans
Posted by "#asfinfra IRC Bot (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/INFRA-3274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
#asfinfra IRC Bot closed INFRA-3274.
------------------------------------
Resolution: Fixed
> <pre> markdown conversion produces lots of spans
> ------------------------------------------------
>
> Key: INFRA-3274
> URL: https://issues.apache.org/jira/browse/INFRA-3274
> Project: Infrastructure
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: CMS
> Reporter: Miles Libbey
>
> When converting
> https://svn.apache.org/repos/asf/trafficserver/site/branches/ats-cms/content/docs/trunk/sdk/ASimplePlugin.en.mdtext
> to
> https://svn.apache.org/repos/infra/websites/staging/trafficserver/trunk/content/docs/trunk/sdk/ASimplePlugin.en.html
> this line:
> gcc -g -Wall -fPIC -o hello-world.o -c hello-world.c
> became
> <div class="codehilite"><pre><span class="n">gcc</span> <span class="o">-</span><span class="n">g</span> <span class="o">-</span><span class="n">Wall</span> <span class="o">-</span><span class="n">fPIC</span> <span class="o">-</span><span class="n">o</span> <span class="n">hello</span><span class="o">-</span><span class="n">world</span><span class="o">.</span><span class="n">o</span> <span class="o">-</span><span class="n">c</span> <span class="n">hello</span><span class="o">-</span><span class="n">world</span><span class="o">.</span><span class="n">c</span>
> Would expect the output to be closer to
> <div class="codehilite"><pre>gcc -g -Wall -fPIC -o hello-world.o -c hello-world.c</pre></span>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (INFRA-3274) markdown conversion produces
lots of spans
Posted by "#asfinfra IRC Bot (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/INFRA-3274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12969164#action_12969164 ]
#asfinfra IRC Bot commented on INFRA-3274:
------------------------------------------
<joes4> basically you can choose the lexer by picking the short name in this page: http://pygments.org/docs/lexers/
> <pre> markdown conversion produces lots of spans
> ------------------------------------------------
>
> Key: INFRA-3274
> URL: https://issues.apache.org/jira/browse/INFRA-3274
> Project: Infrastructure
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: CMS
> Reporter: Miles Libbey
>
> When converting
> https://svn.apache.org/repos/asf/trafficserver/site/branches/ats-cms/content/docs/trunk/sdk/ASimplePlugin.en.mdtext
> to
> https://svn.apache.org/repos/infra/websites/staging/trafficserver/trunk/content/docs/trunk/sdk/ASimplePlugin.en.html
> this line:
> gcc -g -Wall -fPIC -o hello-world.o -c hello-world.c
> became
> <div class="codehilite"><pre><span class="n">gcc</span> <span class="o">-</span><span class="n">g</span> <span class="o">-</span><span class="n">Wall</span> <span class="o">-</span><span class="n">fPIC</span> <span class="o">-</span><span class="n">o</span> <span class="n">hello</span><span class="o">-</span><span class="n">world</span><span class="o">.</span><span class="n">o</span> <span class="o">-</span><span class="n">c</span> <span class="n">hello</span><span class="o">-</span><span class="n">world</span><span class="o">.</span><span class="n">c</span>
> Would expect the output to be closer to
> <div class="codehilite"><pre>gcc -g -Wall -fPIC -o hello-world.o -c hello-world.c</pre></span>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (INFRA-3274) markdown conversion produces
lots of spans
Posted by "#asfinfra IRC Bot (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/INFRA-3274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12969165#action_12969165 ]
#asfinfra IRC Bot commented on INFRA-3274:
------------------------------------------
<joes4> if you want line numbers use a "#!" prefix instead of ":::"
> <pre> markdown conversion produces lots of spans
> ------------------------------------------------
>
> Key: INFRA-3274
> URL: https://issues.apache.org/jira/browse/INFRA-3274
> Project: Infrastructure
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: CMS
> Reporter: Miles Libbey
>
> When converting
> https://svn.apache.org/repos/asf/trafficserver/site/branches/ats-cms/content/docs/trunk/sdk/ASimplePlugin.en.mdtext
> to
> https://svn.apache.org/repos/infra/websites/staging/trafficserver/trunk/content/docs/trunk/sdk/ASimplePlugin.en.html
> this line:
> gcc -g -Wall -fPIC -o hello-world.o -c hello-world.c
> became
> <div class="codehilite"><pre><span class="n">gcc</span> <span class="o">-</span><span class="n">g</span> <span class="o">-</span><span class="n">Wall</span> <span class="o">-</span><span class="n">fPIC</span> <span class="o">-</span><span class="n">o</span> <span class="n">hello</span><span class="o">-</span><span class="n">world</span><span class="o">.</span><span class="n">o</span> <span class="o">-</span><span class="n">c</span> <span class="n">hello</span><span class="o">-</span><span class="n">world</span><span class="o">.</span><span class="n">c</span>
> Would expect the output to be closer to
> <div class="codehilite"><pre>gcc -g -Wall -fPIC -o hello-world.o -c hello-world.c</pre></span>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.