Feature #12267

Convert bold, italic, and bolditalic EAD emphasis tag to markdown when markdown is enabled in AtoM

Added by Dan Gillean about 1 year ago. Updated about 1 year ago.

Status:VerifiedStart date:03/13/2018
Priority:MediumDue date:
Assignee:Dan Gillean% Done:

0%

Category:EADEstimated time:8.00 hours
Target version:Release 2.5.0
Google Code Legacy ID: Tested version:
Sponsored:Yes Requires documentation:Yes

Description

In issue #12148 we have added support for Markdown in AtoM via the PHP library Parsedown. This ability to style texts can be turned on and off via an administrative setting.

When the Markdown setting is turned on in AtoM, this feature will add the ability for AtoM to preserve some rendering elements found in EAD 2002 XML documents during import. Specifically, when markdown is enabled and an EAD XML description is imported with <emph> tags that have @render attributes of "bold", "italic" or "bolditalic", AtoM will convert these to markdown on import to preserve the stylistic display in AtoM.

NOTE: many of the render types defined in EAD are not supported by ParseDown (e.g. underline, singlequote, sub, super, smcaps). The complete list of render types currently included in this feature is “italic”, “bold”, and “bolditalic”. The scope of work also does not include converting EAD XML lists (<list>, <item>) to markdown.

The EAD emph element conversion to markdown will be supported in AtoM when it is found within the following EAD elements:

scopecontent
custodhist
accessrestrict
userestrict
otherfindaid
repository
origination
unittitle
materialspec
unitdate
physdesc
abstract
container
repository
unitid
langusage
langmaterial
name
corpname
persname
famname
geogname
subject
genreform
descrules
date

History

#2 Updated by Dan Gillean about 1 year ago

  • Status changed from QA/Review to Verified

Also available in: Atom PDF