Anking Card Styling Sync Resets Colors for Bold, Underlined, and Italicized words

*Before the error happened, I was…
After I updated Anki hub, every time I sync Anki, it gets rid of my stylistic changes in the Card Styilng tab. In the Anking card Styling code, there is this:

/* ~COLOR ACCENTS FOR BOLD-ITALICS-UNDERLINE~~*/

b {

color: inherit;

}

u {

color: inherit;

}

i {

color: inherit;

}

Before the update, I had different colors for bold, italicized, and underlined words. Now, whenever I sync, these colors reset to “inherit”.

What can I do about this?

Error message (don't change this)
Anki 23.12.1 (1a1d4d54)  (ao)
Python 3.9.15 Qt 6.5.3 PyQt 6.5.3
Platform: macOS-13.3-arm64-arm-64bit

Traceback (most recent call last):

  File "aqt.taskman", line 142, in _on_closures_pending

  File "/Users/jkang001/Library/Application Support/Anki2/addons21/1322529746/gui/auto_sync.py", line 99, in sync_with_ankiweb
    future.result()

  File "concurrent.futures._base", line 439, in result

  File "concurrent.futures._base", line 391, in __get_result

  File "/Users/jkang001/Library/Application Support/Anki2/addons21/1322529746/gui/operations/utils.py", line 39, in wrapper
    return func(*args, **kwargs)

  File "/Users/jkang001/Library/Application Support/Anki2/addons21/1322529746/gui/operations/ankihub_sync.py", line 75, in _sync_with_ankihub_inner
    subscribed_decks = client.get_deck_subscriptions()

  File "/Users/jkang001/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 609, in get_deck_subscriptions
    raise AnkiHubHTTPError(response)

1322529746.ankihub_client.ankihub_client.AnkiHubHTTPError: AnkiHub request error: 406 Not Acceptable

Sentry link (for developers)

Hello,

Are you using the Anking Note Types addon?

1 Like