Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pod table cell contents should be parsed as para #2863

Open
p6rt opened this issue Aug 14, 2012 · 6 comments
Open

Pod table cell contents should be parsed as para #2863

p6rt opened this issue Aug 14, 2012 · 6 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Aug 14, 2012

Migrated from rt.perl.org#114480 (status was 'open')

Searchable as RT114480$

@p6rt
Copy link
Author

p6rt commented Aug 14, 2012

From @softmoth

=begin table :caption('The Other Guys')

  Secret
  Superhero Identity Superpower
  ============= =============== ===================
  B<The Shoveller> Eddie Stevens King Arthur's
  singing shovel

  Blue Raja Geoffrey Smith Master of cutlery
=end table

# B<The Shoveller> in the table is provided as-is as part of the
# table's contents array. But it should be parsed and provided as a
# Pod​::FormattingCode (see S26​:1421).
$=pod.perl.say;

@p6rt
Copy link
Author

p6rt commented Aug 30, 2014

@hoelzro - Status changed from 'new' to 'deleted'

@p6rt
Copy link
Author

p6rt commented Aug 30, 2014

@hoelzro - Status changed from 'deleted' to 'open'

@p6rt
Copy link
Author

p6rt commented Dec 1, 2017

From @bduggan

I've confirmed that this is still an issue in 2017.11.

$ perl6 -v
This is Rakudo version 2017.11 built on MoarVM version 2017.11
implementing Perl 6.c.

$ cat pod.t
use Test;
# RT #​114480
=begin table

B<foo> | bar
baz | boop

=end table

isa-ok $=pod[0].contents[0][0], Pod​::FormattingCode;

$ perl6 pod.t
not ok 1 - The object is-a 'Pod​::FormattingCode'
# Failed test 'The object is-a 'Pod​::FormattingCode''
# at pod.t line 10
# Actual type​: Str

@p6rt p6rt added the POD label Jan 5, 2020
@JJ
Copy link

JJ commented Dec 30, 2020

This now returns "Bogux postfix" at Pod::FormattingCode since it's now private. But it's still parsed as a Str. The current document states that formatting in table cells is ignored.

@softmoth
Copy link

softmoth commented Apr 5, 2021

This problem shows up with Pod::Defn content, also.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants