attributeNamesThatCreateContentBlocks

Attribute names that should always trigger a new ContentBlock to be created. Attributes defined in this list will be available even if disableDefaultAttributeFiltering is set to false.

NOTE: If you use TTS and you have multilingual documents, you should include lang and xml:lang so that this data is passed to the TtsSynthesizer.

NOTE: This option can only be set when calling ReadingSystemEngine.loadPublication(). It is NOT possible to change this option using ReaderPublication.setOptions().

If this field is null, then the following attributes will cause a new content block to be created:

  • 'epub:type'

  • 'role'

  • 'lang'

  • 'xml:lang'

  • 'itemscope'

  • 'itemprop'

  • 'itemid'

  • 'itemref'

  • 'itemtype'

  • 'vocab'

  • 'typeof'

  • 'property'

  • 'id'