wagtail / wagtail-live

High speed publishing from messaging apps to a Wagtail live blog. A GSoC 2021 project.
https://wagtail.github.io/wagtail-live/
BSD 3-Clause "New" or "Revised" License
37 stars 6 forks source link

Fix richtext blocks comparison #130

Closed Tijani-Dia closed 3 years ago

Tijani-Dia commented 3 years ago

Use get_text_for_indexing for rich text comparison instead of comparing the source here.

codecov-commenter commented 3 years ago

Codecov Report

Merging #130 (b76d176) into main (d30ab6c) will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##              main      #130   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           40        40           
  Lines         1091      1091           
  Branches       103       103           
=========================================
  Hits          1091      1091           
Impacted Files Coverage Δ
src/wagtail_live/blocks.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update d30ab6c...b76d176. Read the comment docs.