question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

all-caps style-mapping rule not understood

See original GitHub issue

Hello

I tried using the following rule in my style-map but mammoth would not parse it.

all-caps => span.b-uppercase

I expect explicitly applied uppercasing to be mapped as

<span class="b-uppercase">{text}</span>

I received the following warning message:

Did not understand this style mapping, so ignored it: all-caps => span.b-uppercase

mammoth version: 1.4.12 Python version: 3.9.1 OS: Windows 10

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
mwilliamsoncommented, Feb 22, 2021

Ah, I should have paid attention to your original description: you’re using a version of Mammoth before support was added for all-caps.

1reaction
mwilliamsoncommented, Feb 22, 2021

Could you upload the file, rather than copying and pasting it, to make sure that I’ve got the file exactly as you do?

Read more comments on GitHub >

github_iconTop Results From Across the Web

169 All about All Caps (change case open type option)
Sometimes you may want to use all caps in your document to grab attention, convey importance, or to highlight list or table names....
Read more >
Apache CXF Development Guide Red Hat Fuse 7.0
An extended directive is specified in the context of a standard directive, so that applications not understanding the extended directive can adhere to...
Read more >
Changelog for pandoc-2.14.2 | Hackage - Haskell.org
Any IDs not adhering to these rules are rewritten by writing the offending ... but it seems Word Online does not understand the...
Read more >
Fixed issues in InDesign - Adobe Support
We heard you! We've been working hard at fixing the issues you reported to us. Here's the list of issues we fixed in...
Read more >
Mammoth .docx to HTML converter - GitHub
If no module system is found, mammoth is set as a window global. ... To more easily support style maps stored in text...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found