Bug 27958 - Adding inline styles to KohaNews styles koha-news.tt
Summary: Adding inline styles to KohaNews styles koha-news.tt
Status: CLOSED INVALID
Alias: None
Product: Koha
Classification: Unclassified
Component: Tools (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-15 15:23 UTC by Lucas Gass (lukeg)
Modified: 2021-12-13 21:10 UTC (History)
0 users

See Also:
GIT URL:
Initiative type: ---
Sponsorship status: ---
Comma delimited list of Sponsors:
Crowdfunding goal: 0
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lucas Gass (lukeg) 2021-03-15 15:23:59 UTC
If you add inline styles to a News item those styles are computed on koha-news.tt

TO recreate:
-Make a News item with a location of 'opacheader_en'.
-Add some inline CSS like this:

<style>
  body {
  	color: red;
  }
</style>

Save the news item and look at koha-news.tt, the text is red.