Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix article search rendering #1101

Merged
merged 4 commits into from
Apr 10, 2023
Merged

Fix article search rendering #1101

merged 4 commits into from
Apr 10, 2023

Conversation

mvz
Copy link
Member

@mvz mvz commented Apr 10, 2023

  • Fix rendering of article body in search results
  • Test themes' search results rendering more thoroughly
  • Hide protected article text from search result in bootstrap-2 theme
  • Set theme when creating blog in ArticlesController specs

mvz added 4 commits April 9, 2023 23:05
In search results, the article body text should be displayed and not the
markdown code.

This change fixes the bootstrap-2 theme accordingly. The plain theme
in publify_core already works correctly.
This copies the more thorough search result specs from publify_core. At
a later time, all of these specs should be made available by
publify_core in a shared example block.
@mvz mvz merged commit 112b4c7 into master Apr 10, 2023
@mvz mvz deleted the fix-search-spec-and-rendering branch April 10, 2023 10:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant