/src/html/tags/r/Ruby.php
PHP | 19 lines | 9 code | 1 blank | 9 comment | 0 complexity | f35c22ac8ee021d2c9337e8ce59a9f16 MD5 | raw file
Possible License(s): MIT, MPL-2.0-no-copyleft-exception
- <?hh // strict
- /*
- * Copyright (c) 2015, Facebook, Inc.
- * All rights reserved.
- *
- * This source code is licensed under the BSD-style license found in the
- * LICENSE file in the root directory of this source tree. An additional grant
- * of patent rights can be found in the PATENTS file in the same directory.
- *
- */
- class :ruby extends :xhp:html-element {
- category %flow, %phrase;
- children (
- (pcdata | :rb)+ |
- ((:rp, :rt) | (:rp, :rtc) | (:rt, :rp) | (:rtc, :rp))+
- );
- protected string $tagName = 'ruby';
- }