Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Pod-Simple CPAN distribution.

Report information
The Basics
Id: 79201
Status: resolved
Priority: 0/
Queue: Pod-Simple

People
Owner: Nobody in particular
Requestors: rdboisvert [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 3.24



Subject: Keyboard Element Incorrect for POD::Simple::HTML
Date: Fri, 24 Aug 2012 16:31:06 -0400
To: bug-pod-simple [...] rt.cpan.org
From: Robert Boisvert <rdboisvert [...] gmail.com>
Greetings, In POD::Simple::HTML version 3.23 or earlier, the package defines various HTML objects which can be used as formatting codes. The definition is in the form *element*=*object* but for the kbd object it is reversed and so will not work. I would like to request the following changes to the code (shown in red below): 1. The entry for the kbd object be changed 2. Two new standard HTML objects be added: pre and tt I also had a question about how to use these elements. I'm using a "=extend K 1 keyboard" to define the K<> formatting code. I found this by browsing the code in POD::Simple but I didn't see it documented. Is there a documented way to do what I want or can this method be documented? Thank you for considering this request and for your help in keeping this very useful script up-to-date. Sincerely yours, Bob Boisvert changes2( map {; m/^([-a-z]+)/s && push @_to_accept, $1; $_ } qw[ sample=samp definition=dfn keyboard=kbd variable=var citation=cite abbreviation=abbr acronym=acronym subscript=sub superscript=sup big=big small=small underline=u strikethrough=s preformat=pre teletype=tt ] # no point in providing a way to get <q>...</q>, I think
On 2012-08-24 16:31:19, rdboisvert@gmail.com wrote: Show quoted text
> 1. The entry for the kbd object be changed
Fixed here: https://github.com/theory/pod- simple/commit/a4bb5442b88eb191e1dfe0dfc63a0f4c4398eb0c Show quoted text
> 2. Two new standard HTML objects be added: pre and tt
Done here: https://github.com/theory/pod- simple/commit/015f0d0442b435ed0ff22a724fe0ae80daf23848 Thank you! Show quoted text
> I also had a question about how to use these elements. I'm using a > "=extend K 1 keyboard" to define the K<> formatting code. I found this by > browsing the code in POD::Simple but I didn't see it documented. Is there > a documented way to do what I want or can this method be documented?
Have to say I have no idea. At this point, you know more about it than I do! Show quoted text
> Thank you for considering this request and for your help in keeping this > very useful script up-to-date.
Glad it's useful to you.