Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Feb 18, 2015
  1. @alext

    Merge pull request #54 from barkingiguana/fix-readme-typo

    alext authored
    Fix a small typo in the README
  2. @craigw

    Fix a small typo in the README

    craigw authored
Commits on Jan 6, 2015
  1. @KushalP

    Merge pull request #53 from alphagov/bump-to-3.3.0

    KushalP authored
    Release version 3.3.0
  2. @bradleywright

    Release version 3.3.0

    bradleywright authored
    Relaxes dependency on Nokogiri so that Rails 4.2 projects can use Govspeak.
  3. @bradleywright

    Merge pull request #51 from andrewgarner/relax-nokogiri

    bradleywright authored
    Relax Nokogiri dependency constraint
Commits on Jan 5, 2015
  1. @bradleywright

    Merge pull request #52 from alphagov/role-and-aria-label-for-notices

    bradleywright authored
    [DISCUSS] Add role and aria-label to notices to improve accessibility
  2. @camilleldn
  3. @camilleldn
  4. @andrewgarner

    Relax Nokogiri dependency constraint

    andrewgarner authored
    Gem is currently incompatible with Rails 4.2 due to its pessimistic
    constraint on Nokogiri 1.5.
    
    rails (= 4.2.0) ruby depends on
      actionview (= 4.2.0) ruby depends on
        rails-dom-testing (>= 1.0.5, ~> 1.0) ruby depends on
          nokogiri (~> 1.6.0) ruby
    
    govspeak (~> 3.2) ruby depends on
      nokogiri (1.5.11)
Commits on Nov 14, 2014
  1. @alext

    Merge pull request #50 from alphagov/pass-in-images-with-options

    alext authored
    Allow images to be passed in as options
Commits on Nov 13, 2014
  1. @tekin
Commits on Nov 6, 2014
  1. @vinayvinay

    Merge pull request #48 from alphagov/bump_ruby

    vinayvinay authored
    Relax ruby version constraint.
  2. @alext

    Relax ruby version constraint.

    alext authored
    Given this is a gem, it doesn't make sense to pin it to an exact
    version.  This will now use the 1.9.3 alias which is kept pointing at
    the latest version of 1.9.3 available.
Commits on Oct 3, 2014
  1. @alext

    Merge pull request #46 from alphagov/bump-version-3-2-1

    alext authored
    Bump to version 3.2.0
  2. @tekin

    Bump to version 3.2.0

    tekin authored
    `span` elements are now allowed through the sanitization process.
  3. @evilstreak

    Merge pull request #45 from alphagov/allow-spans

    evilstreak authored
    Allow span elements through HTML validation
  4. @tekin

    Allow span elements through HTML validation

    tekin authored
    This loosens the rules around HTML sanitisation and validation to allow span
    elements. This is required for some work happening on whitehall to precompute
    and store govspeak on HtmlAttachments - the computed HTML contains spans for
    numbered headings.
Commits on Aug 27, 2014
  1. @bradleywright

    Merge pull request #44 from alphagov/release_3-1-1

    bradleywright authored
    Release version 3.1.1
  2. Release version 3.1.1.

    David Thompson authored
  3. @fatbusinessman

    Merge pull request #43 from alphagov/seperate-address-div-from-p

    fatbusinessman authored
    Address div was mixed with paragraph text
  4. @vinayvinay

    Address div was mixed with paragraph text

    vinayvinay authored
    www.agileplannerapp.com/boards/173808/cards/5680
    
    without a leading line-break character, kramdown
    considered address div a part of the preceding
    paragraph text. this was causing address HTML
    to get escaped. according to kramdown syntax,
    there needs to be a blank line to seperate out
    2 paragraphs:
    
    http://kramdown.gettalong.org/syntax.html#paragraphs
Commits on Aug 18, 2014
  1. @jamiecobbett

    Merge pull request #42 from alphagov/release-3-1-0

    jamiecobbett authored
    Release version 3.1.0
  2. @kalleth

    Release version 3.1.0

    kalleth authored
  3. @kalleth

    Merge pull request #41 from alphagov/allow_govspeak_document_to_pass_…

    kalleth authored
    …options_to_validate
    
    Govspeak::Document#valid? can take options
  4. @kalleth

    Merge pull request #40 from alphagov/clarify_html_validator

    kalleth authored
    Clarify that HtmlValidator takes a Govspeak string
Commits on Aug 15, 2014
  1. @jamiecobbett

    Govspeak::Document#valid? can take options

    jamiecobbett authored
    Which are passed to HtmlValidator. This enables callers to specify images are
    only allowed on certain domains.
  2. @jamiecobbett

    Clarify that HtmlValidator takes a Govspeak string

    jamiecobbett authored
    The name might lead you to think it takes HTML - that's what is being assumed
    in govuk_content_models.
Commits on Aug 14, 2014
  1. @evilstreak

    Merge pull request #39 from alphagov/release_2-1-0

    evilstreak authored
    Release 3.0.0
  2. @jamiecobbett

    Release 3.0.0

    jamiecobbett authored
  3. @evilstreak

    Merge pull request #37 from alphagov/image_host_whitelist

    evilstreak authored
    Add an allowed_image_hosts option
  4. @jamiecobbett

    Add an allowed_image_hosts option

    jamiecobbett authored
    This lets us specify that images not hosted on GOV.UK (ie relative paths) or on
    the GOV.UK asset domain are not sanitary - these images could be changed at the
    whim of that website owner, potentially to something malicious.
  5. @evilstreak

    Merge pull request #38 from alphagov/allow-spacing-in-legislative-lists

    evilstreak authored
    Allow line breaks in LegislativeLists
  6. @evilstreak

    Merge pull request #35 from alphagov/if-we-do-not-care-about-whitespa…

    evilstreak authored
    …ce-lets-just-not-check-for-it
    
    Fix whitespace sensitive tests
Commits on Aug 13, 2014
  1. @kalleth

    Allow line breaks in LegislativeLists

    kalleth authored
    Editors want to have multiple paragraphs in a single LegislativeList
    entry. In order to allow this, we need to modify the LegislativeList
    syntax to have an end tag, and treat everything inside it similarly.
    
    Add $EndLegislativeList tag.
  2. @vinayvinay

    Merge pull request #36 from alphagov/release-version-202

    vinayvinay authored
    Release version 2.0.2
Something went wrong with that request. Please try again.