Skip to content

Commit

Permalink
Merge pull request #9792 from alphagov/revert-9674-remove-uses-of-adv…
Browse files Browse the repository at this point in the history
…isory

Revert "Remove uses of advisory"
  • Loading branch information
beccapearce authored Jan 8, 2025
2 parents 664569b + b0cd5ed commit 58ac3cf
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 357 deletions.
1 change: 0 additions & 1 deletion lib/govspeak/embedded_content_patterns.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,5 @@ module EmbeddedContentPatterns
ADMIN_EDITION_PATH = %r{/admin/(?:#{Whitehall.edition_route_path_segments.join('|')})/(\d+)}
ADMIN_ORGANISATION_CIP_PATH = %r{/admin/organisations/([\w-]+)/corporate_information_pages/(\d+)}
ADMIN_WORLDWIDE_ORGANISATION_CIP_PATH = %r{/admin/worldwide_organisations/([\w-]+)/corporate_information_pages/(\d+)}
ADVISORY = /(^@)([\s\S]*?)(@?)(?=(?:^\$CTA|\r?\n\r?\n|^@|$))/m
end
end
121 changes: 0 additions & 121 deletions lib/govspeak/remove_advisory_service.rb

This file was deleted.

68 changes: 0 additions & 68 deletions lib/tasks/remove_advisory.rake

This file was deleted.

92 changes: 0 additions & 92 deletions test/unit/lib/govspeak/remove_advisory_service_test.rb

This file was deleted.

75 changes: 0 additions & 75 deletions test/unit/lib/tasks/remove_advisory_test.rb

This file was deleted.

0 comments on commit 58ac3cf

Please sign in to comment.