Skip to content

Commit

Permalink
Merge pull request #124 from microcosm-cc/buro9/reorg
Browse files Browse the repository at this point in the history
Minor re-org to improve documentation readability
  • Loading branch information
buro9 committed Jun 16, 2021
2 parents 548985b + 7107ed5 commit 75e91cc
Show file tree
Hide file tree
Showing 4 changed files with 1,258 additions and 1,291 deletions.
4 changes: 2 additions & 2 deletions handlers.go → css/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

package bluemonday
package css

import (
"regexp"
Expand Down Expand Up @@ -329,7 +329,7 @@ func splitValues(value string) []string {
return values
}

func getDefaultHandler(attr string) func(string) bool {
func GetDefaultHandler(attr string) func(string) bool {

if defaultStyleHandlers[attr] != nil {
return defaultStyleHandlers[attr]
Expand Down

0 comments on commit 75e91cc

Please sign in to comment.